Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 82da124b973b0b43b2406eda027a3d2a > scriptlet

yash-2.28-1.fc14.i686.rpm

POSTIN

/bin/sh
if [ -f /etc/shells ]
then
	grep -q '^/bin/yash$' /etc/shells || echo '/bin/yash' >> /etc/shells
else
	echo '/bin/yash' > /etc/shells
fi
exit 0

POSTUN

/bin/sh
[ "$1" = 0 ] || exit 0
[ -f /etc/shells ] || exit 0
sed -i -e '\@/bin/yash$@d' /etc/shells
exit 0