Re: A good time to switch to dash as /bin/sh?

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



On 09/27/2014 01:04 AM, Florian Pelz wrote:
Regardless of what's the default, could there be a cleaner way to use
dash as one's /bin/sh without preventing pacman from upgrading bash?

Manually replace /bin/sh as a symlink to /bin/dash and then set the /etc/pacman.conf values:

NoUpgrade = usr/bin/sh
NoExtract = usr/bin/sh

?

Note: I assumed NoExtract should have been enough since the symlink usr/bin/sh -> usr/bin/bash exists in the bash package, but NoUpgrade alone creates the symlink, and NoExtract alone removes the existing symlink, leaving nothing in its wake. Use at your own risk, because this WILL break packages expecting /bin/sh to be bash and probably other things.

Benjamin


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux