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 : 172.67.156.115

your ip : 172.69.58.119

H O M E


Filename/var/lib/dpkg/info/php5-gd.postinst
Size920
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 10:12
Last modified23-Apr-2019 02:48
Last accessed06-Jul-2025 22:04
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e


if [ "$1" = "configure" ]; then
inidir=/etc/php5/mods-available

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

for dsoname in gd ; do
inifile=${dsoname}.ini

# Register new conffile with UCF
ucf /usr/share/php5/gd/${inifile} ${inidir}/${inifile}
ucfr --force php5-gd ${inidir}/${inifile}

# Move pre-extension manager conffile
dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 5.4.0~rc6-1 -- "$@";

if [ -f "${inidir}/${inifile}.dpkg-new" ]; then
md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')"
old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')"
if [ "$md5sum" = "$old_md5sum" ]; then
mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}"
fi
fi

php5_invoke enmod ALL ${dsoname}
done
fi
fi



exit 0