📁 File Manager Pro
v10.0.3 | PHP: 7.4.15
Server: Apache/2.4.25 (Debian)
2026-07-01 20:25:30
📂
/ (Root)
/
var
/
lib
/
dpkg
/
info
📍 /var/lib/dpkg/info
🔄 Refresh
✏️
Editing: php7.3-imagick.prerm
Read Only
#!/bin/sh set -e # Automatically added by dh_php # Hey emacs, this is -*- shell-script -*- for name in imagick ; do find /etc/php -mindepth 3 -maxdepth 3 -name "${name}.ini*" | \ sed -Ee "s,.dpkg-(remove|bak|backup)$,," | \ grep "/etc/php/[.0-9]*/mods-available/${name}.ini" | \ fgrep -v "$(for version in 7.3 ; do echo "/etc/php/${version}/mods-available/${name}.ini"; done)" | \ while read conffile; do dpkg-maintscript-helper rm_conffile "${conffile}" -- "$@" for dir in \ "$(dirname $(dirname "${conffile}"))"/mods-available \ "$(dirname $(dirname "${conffile}"))" \ /etc/php; do if [ -d $dir ]; then rmdir --ignore-fail-on-non-empty $dir fi done done done # Disable and then re-enable module on upgrades to deal with priority changes if [ "$1" = "upgrade" ]; then if [ -e /usr/lib/php/php-maintscript-helper ] ; then . /usr/lib/php/php-maintscript-helper for version in 7.3 ; do for name in imagick ; do php_invoke dismod "$version" ALL "$name" || exit $? done done fi fi # End automatically added section
💾 Save Changes
❌ Cancel