Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 34674c3b9d8949c423eb7cf83c2604ae > scriptlet

ksh-20120801-8.fc17.i686.rpm

POSTIN

/bin/sh
if [ ! -f /etc/shells ]; then
        echo "/bin/ksh" > /etc/shells
else
        if ! grep -q '^/bin/ksh$' /etc/shells ; then
                echo "/bin/ksh" >> /etc/shells
        fi
fi

/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :

POSTUN

/bin/sh
if [ ! -f /bin/ksh ]; then
	sed -i '/^\/bin\/ksh$/ d' /etc/shells
fi