File Manager

Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/postfixadmin.postrm

#!/bin/sh
set -e

if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
	if [ -f /usr/share/debconf/confmodule ]; then
		. /usr/share/debconf/confmodule
		db_version 2.0
		
		if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
			. /usr/share/dbconfig-common/dpkg/postrm
			dbc_go postfixadmin $@
		fi
	fi
        
	if [ "$1" = "purge" ]; then
                rm -f /etc/postfixadmin/dbconfig.inc.php
                if which ucf >/dev/null 2>&1; then
                        ucf --purge /etc/postfixadmin/dbconfig.inc.php
                fi

                db_purge || true

        fi
fi

# Automatically added by dh_installdeb/13.3.4ubuntu2
dpkg-maintscript-helper mv_conffile /etc/postfixadmin/apache.conf /etc/apache2/conf-available/postfixadmin.conf 2.3.7-1\~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/postfixadmin/lighttpd.conf /etc/lighttpd/conf-available/postfixadmin.conf 2.3.7-1\~ -- "$@"
# End automatically added section
# Automatically added by dh_installdebconf/13.3.4ubuntu2
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "purge" ] ; then
	if true; then
		if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
			. /usr/share/apache2/apache2-maintscript-helper

			for conf in postfixadmin  ; do
				apache2_invoke disconf $conf  || exit 1
			done
		fi
	fi
fi
# End automatically added section


exit 0

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com