Your IP : 216.73.216.170


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/php5-common.postrm

#!/bin/sh

set -e

[ "$1" = "purge" ] && rm -rf /var/lib/php5


inidir=/etc/php5/mods-available
for dsoname in pdo ; do
    inifile=${dsoname}.ini

    dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 5.4.0~rc6-1 -- "$@";

    # Query which package has this conffile registered
    if which ucfq >/dev/null; then
	ucfp=$(ucfq -w ${inidir}/${inifile} | cut -f 2 -d:)
    fi

    # Only work with the config file if it still belongs to us
    if test "$ucfp" = php5-common; then
	if [ "$1" = "purge" ]; then
	    for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist;  do
		rm -f ${inidir}/${inifile}${ext}
	    done
	    rm -f ${inidir}/${inifile}
	    if which ucf >/dev/null; then
		ucf --purge ${inidir}/${inifile}
	    fi
	    if which ucfr >/dev/null; then
		ucfr --purge php5-common ${inidir}/${inifile}
	    fi
	fi
    fi
done

exit 0


Warning: Unknown: open(/var/www/iplanru/data/bin-tmp/sess_5094fffa47e57d3485e8a80fe09ac53e, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/iplanru/data/bin-tmp) in Unknown on line 0