Sophie

Sophie

distrib > Mandriva > 7.1 > i586 > by-pkgid > 93999635f446179895b18b9343649a89 > scriptlet

piranha-gui-0.4.14-1mdk.i586.rpm

PREIN

/bin/sh
if [ `grep -c html/piranha /etc/httpd/conf/access.conf` = 0 ]; then
       echo "<Directory /home/httpd/html/piranha>" >> /etc/httpd/conf/access.conf
       echo "  Options All" >> /etc/httpd/conf/access.conf
       echo "  AllowOverride All" >> /etc/httpd/conf/access.conf
       echo "</Directory>" >> /etc/httpd/conf/access.conf
fi

POSTIN

/bin/sh
if [ -x /usr/bin/update-menus ];then
		/usr/bin/update-menus
fi

POSTUN

/bin/sh
if [ -x /usr/bin/update-menus ];then
		/usr/bin/update-menus
fi