K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 104.21.89.46

your ip : 172.70.178.34

H O M E


Filename/var/lib/dpkg/info/php5-mysql.postrm
Size1.04 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 10:11
Last modified23-Apr-2019 02:48
Last accessed06-Jul-2025 21:45
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e


inidir=/etc/php5/mods-available
for dsoname in mysql mysqli pdo_mysql ; 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
# 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-mysql; 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-mysql ${inidir}/${inifile}
fi
fi

if [ -e /usr/share/php5/php5-maintscript-helper ] ; then
. /usr/share/php5/php5-maintscript-helper

for dsoname in mysql mysqli pdo_mysql ; do
php5_invoke dismod ALL ${dsoname}
done
fi
fi
done



exit 0