Sophie

Sophie

distrib > Mageia > 1 > x86_64 > by-pkgid > a91592eeaf1cb1880e91848bfa12ee90 > scriptlet

nagios-www-3.2.3-2.mga1.x86_64.rpm

PRETRANS

/bin/sh
# fix for old apache configuration
if [ -f /etc/httpd/conf/webapps.d/12_nagios.conf ]; then
    mv /etc/httpd/conf/webapps.d/12_nagios.conf \
    /etc/httpd/conf/webapps.d/nagios.conf
    perl -pi -e 's|/usr/share/nagios|/usr/share/nagios/www|' \
        /etc/httpd/conf/webapps.d/nagios.conf
fi