[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/sh != /bin/bash ? [was Re: zsh vs bash]



carlos@fisica.ufpr.br writes:

[snip]

> The only problem is that some packages, such as gzip, give an error
> in the perl (!!??) postinst script.

Here (with gzip 1.2.4-14) the postinst script is for /bin/sh.
I suspect the problem is the line in /etc/zshenv:

    PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:."

which means that every time zsh is used, /usr/sbin gets removed from
the PATH, which is where install-info (a perl script used by the
postinst) is located.

I've commented out this line and put it into /etc/zlogin instead,
which corresponds with setting PATH for bash in /etc/profile.  Maybe I
should file a bug report on zsh for this?

-- 
                Carey Evans  <*>  c.evans@clear.net.nz

"Linux and Linux-like systems such as UNIX(R) and FreeBSD..."
    - Yggdrasil Computing, <pgpmoose.199702180607.14425@liw.clinet.fi>


Reply to: