Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 3f3c84dc93caf080279e17611ea433c1 > scriptlet

mksh-39c-4.fc15.i686.rpm

POSTIN

/bin/sh
grep -q "^/bin/mksh$" /etc/shells 2>/dev/null || \
  echo "/bin/mksh" >> /etc/shells

POSTUN

/bin/sh
if [ ! -x /bin/mksh ]; then
  sed -e 's@^/bin/mksh$@POSTUNREMOVE@' -e '/^POSTUNREMOVE$/d' -i /etc/shells
fi