Your IP : 216.73.216.170


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

#!/bin/sh

set -e

#EXTRA#


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

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

    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-xcache ${inidir}/${inifile}
        fi
    fi
done

exit 0