On Fri, 9 Oct 1998, aurelio marinho jargas - ctba wrote:
> sorry!
>
> forget about the previous upgrade error
> installing one by one it gone
>
> and the bug:
> linuxconf
> ##################################################
> /usr/lib/linuxconf/install/rpm-postinst.sh: [: too many
> arguments
>
> is because we have a portuguese /etc/redhat-release
> with no "release" inside it...
> if [ "$ver" != "5.1" -a $ver != "5.2" ] ; then
> ^^^^thanks for this
> if not, i wouldn't see
> this detail...
> so $ver have nothing...
> and nothing with no "" cracks the if.
>
> we'll have to change our /etc/redhat-release or make a patch
> for it.
I must admit that /etc/redhat-release is not really a config file, yet
this is the only way I have found to identify a redhat release. I was told
to expect a "release" in that file all the time.
Maybe it is time for a real release signature such as
/etc/linux-release:
#!/bin/sh
RELEASE=5.1
VENDOR="RedHat ..."
and so on.
For sure, very few package would care...
--------------------------
Jacques Gelinas
[EMAIL PROTECTED]
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]