Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > d2ae52e359e1b0d6584b3666a80ddc6e > scriptlet

mod_nss-1.0.8-4.fc13.i686.rpm

POSTIN

/bin/sh
umask 077

if [ "$1" -eq 1 ] ; then
    if [ ! -e /etc/httpd/alias/key3.db ]; then
        /usr/sbin/gencert /etc/httpd/alias > /etc/httpd/alias/install.log 2>&1
        echo ""
        echo "mod_nss certificate database generated."
        echo ""
    fi

    # Make sure that the database ownership is setup properly.
    /bin/find /etc/httpd/alias -user root -name "*.db" -exec /bin/chgrp apache {} \;
    /bin/find /etc/httpd/alias -user root -name "*.db" -exec /bin/chmod g+r {} \;
fi