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