#! /bin/sh #---------------------------------------------------------------------------- # apache2_php5 - Deinstallation # # Copyright (c) 2006 Marc Oliver Ulfig # # Creation: 2005/12/24 / 18:51:36 MOU # Last Update: 2006/05/06 / 13:14:54 MOU # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # Include EisFair Lib if there and show a message #---------------------------------------------------------------------------- if [ -f /var/install/include/eislib ] ; then . /var/install/include/eislib #------------------------------------------------------------------------ # New Script Message #------------------------------------------------------------------------ mecho -info " deinstalling apache2_php5..." else #------------------------------------------------------------------------ # Old Script Message #------------------------------------------------------------------------ echo " deinstalling apache2_php5..." fi #---------------------------------------------------------------------------- # Remove list #---------------------------------------------------------------------------- rm -f /usr/lib/php5/extensions/apc.so rm -f /usr/lib/php5/extensions/advantage.so rm -f /usr/lib/php5/extensions/interbase.so rm -f /usr/lib/php5/extensions/mssql.so rm -f /usr/lib/php5/extensions/mysql.so rm -f /usr/lib/php5/extensions/pgsql.so rm -f /usr/lib/php5/extensions/eaccelerator.so rm -f /usr/local/apache2/modules/libphp5.so rm -f /usr/local/fonts/john.ttf rm -f /usr/share/doc/apache2_php5/changes.txt rm -f /usr/share/doc/apache2_php5/apache2_php5.txt rm -f /var/install/help/apache2_php5 rm -f /var/install/bin/apache2-module.php5 rm -f /var/install/config.d/apache2_php5.sh rm -f /var/install/config.d/httpd.conf.php5.sh rm -f /var/install/packages/apache2_php5 rm -f /var/install/deinstall/apache2_php5 rm -f /etc/default.d/apache2_php5 rm -f /etc/check.d/apache2_php5 rm -f /etc/filelist.d/apache2_php5-files.txt rm -f -r etc/php5 rm -f -r /usr/share/doc/apache2_php5 ldconfig >/dev/null 2>&1 if [ "$1" != "norestart" ] then echo "Creating Apache configuration..." sh /var/install/config.d/apache2.sh fi #---------------------------------------------------------------------------- # Ende von: apache2_php5 - Deinstallation #---------------------------------------------------------------------------- exit 0