POSTIN
/bin/sh
if [ $1 = "1" ]; then
#Create a self-signed server key and certificate
#The script checks first if they exists, if yes, it exits,
#otherwise, it creates them.
if [ -d /etc/ssl/apache ];then
pushd /etc/ssl/apache > /dev/null
yes ""|/usr/lib/ssl/apache2-mod_ssl/gentestcrt.sh >/dev/null
popd > /dev/null
fi
/usr/share/ADVX/mod_ssl-migrate-20
fi
/usr/share/rpm-helper/create-file apache2 $1 /var/cache/httpd/mod_ssl/scache.dir apache root 0600
/usr/share/rpm-helper/create-file apache2 $1 /var/cache/httpd/mod_ssl/scache.pag apache root 0600
/usr/share/rpm-helper/create-file apache2 $1 /var/cache/httpd/mod_ssl/scache.sem apache root 0600
/usr/share/rpm-helper/create-file apache2 $1 /var/cache/httpd/mod_ssl/ssl_scache apache root 0600
if [ -e /usr/sbin/ADVXctl ]; then /usr/sbin/ADVXctl update;fi
POSTUN
/bin/sh
if [ -e /usr/sbin/ADVXctl ]; then /usr/sbin/ADVXctl update;fi