1 # arg 1: the new package version
3 if [ ! "`/bin/grep /bin/sash etc/shells`" ]; then
4 /bin/echo "updating /etc/shells... done."
5 /bin/sed -i "s|/bin/sh|/bin/sh\n/bin/sash|" etc/shells
9 # arg 1: the new package version
10 # arg 2: the old package version
15 # arg 1: the old package version
17 /bin/echo -ne "\nupdating /etc/shells... "
18 /bin/sed -i "\|/bin/sash|d" etc/shells
21 # arg 1: the old package version