1 # arg 1: the new package version
3 if [ ! "`/bin/grep /usr/bin/scsh etc/shells`" ]; then
4 /bin/echo "updating /etc/shells... done."
5 /bin/sed -i "s|/bin/bash|/bin/bash\n/usr/bin/scsh|" 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 "s|/usr/bin/scsh|
\b|" etc/shells
21 # arg 1: the old package version