File: //proc/self/root/scripts.20110531.215904.25158/downgradefp
#!/bin/sh
echo "This script is not supported"
echo "Downgrading to fp 5.0-0"
if [ "`grep \"Red Hat Linux release 9\" /etc/redhat-release`" = "" ]; then
(cd /usr/local/frontpage/version5.0/apache-fp;chattr -i _vti_bin/fpexe)
rpm -Uvh --force http://httpupdate.cpanel.net/fp/frontpage-5.0-0.i386.rpm
/scripts/initfpsuexec
(cd /usr/local/frontpage/version5.0/apache-fp;chattr +i _vti_bin/fpexe)
else
echo "Frontpage cannot be downgraded on redhat 9"
exit
fi