Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > a1a64f1b0e8384281cc73126f84c6d29 > scriptlet

coolkey-1.1.0-17.fc14.i686.rpm

POSTIN

/bin/sh
/sbin/ldconfig
isThere=`modutil -rawlist -dbdir /etc/pki/nssdb | grep "CoolKey PKCS #11 Module" || echo NO`
if [ "$isThere" == "NO" ]; then
   if [ -x /usr/bin/pk11install ]; then
      pk11install -p /etc/pki/nssdb 'name="CoolKey PKCS #11 Module" library=libcoolkeypk11.so' ||:
   fi
fi

POSTUN

/bin/sh
/sbin/ldconfig
if [ $1 -eq 0 ]; then
   modutil -delete "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb -force || :
fi