\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/lib/dpkg/info/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/lib/dpkg/info/php7.3-opcache.postinst |
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
# Install the new versioned configuration
inidir=/etc/php/7.3/mods-available
if [ -e /usr/lib/php/php-maintscript-helper ] ; then
. /usr/lib/php/php-maintscript-helper
for dsoname in opcache; do
inifile=${dsoname}.ini
# Register new conffile with UCF
ucf /usr/share/php7.3-opcache/opcache/${inifile} ${inidir}/${inifile}
ucfr --force php7.3-opcache ${inidir}/${inifile}
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
php_invoke enmod 7.3 ALL ${dsoname}
done
fi
fi
exit 0