Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > by-pkgid > 05982c3b69696260f889d69ec82a855c > scriptlet

bash1-1.14.7-24mdk.i586.rpm

POSTIN

/bin/sh

HASBASH=""
HASSH=""

if [ ! -f /etc/shells ]; then
	> /etc/shells
fi

(while read line ; do
	if [ $line = /bin/bash1 ]; then
		HASBASH=1
	fi
 done

 if [ -z "$HASBASH" ]; then
	echo "/bin/bash1" >> /etc/shells
fi) < /etc/shells