Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1375 - pdksh errors changing /etc/shells
Attached to Project:
Arch Linux
Opened by Kevin Piche (kpiche) - Saturday, 04 September 2004, 11:10 GMT
Last edited by Eric Johnson (eric) - Monday, 06 September 2004, 13:24 GMT
Opened by Kevin Piche (kpiche) - Saturday, 04 September 2004, 11:10 GMT
Last edited by Eric Johnson (eric) - Monday, 06 September 2004, 13:24 GMT
|
DetailsInstalling and removing pdksh displays some "file not found" errors. The pdksh.install has wrong path to sed and /etc/shells.
--- pdksh.install 2004-07-21 08:11:54.000000000 -0400 +++ pdksh.install.new 2004-09-04 07:02:02.000000000 -0400 @@ -1,8 +1,8 @@ # arg 1: the new package version post_install() { - if [ ! "`/bin/grep /usr/bin/ksh etc/shells`" ]; then + if [ ! "`/bin/grep /usr/bin/ksh /etc/shells`" ]; then /bin/echo "updating /etc/shells... done." - /usr/bin/sed -i "s|/bin/bash|/bin/bash\n/usr/bin/ksh|" etc/shells + /bin/sed -i "s|/bin/bash|/bin/bash\n/usr/bin/ksh|" /etc/shells fi } @@ -15,7 +15,7 @@ # arg 1: the old package version pre_remove() { /bin/echo -ne "\nupdating /etc/shells... " - /usr/bin/sed -i "s|/usr/bin/ksh||" etc/shells + /bin/sed -i "s|/usr/bin/ksh||" /etc/shells } # arg 1: the old package version |
This task depends upon
Comment by Eric Johnson (eric) -
Monday, 06 September 2004, 13:24 GMT
sed was moved from /usr/bin to /bin.