✏️ 正在编辑: php8.1-phpdbg.prerm
路径:
/var/lib/dpkg/info/php8.1-phpdbg.prerm
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/bin/sh set -e if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then update-alternatives --remove phpdbg /usr/bin/phpdbg8.1 fi php_enable() { return 0; } if [ "$1" = "remove" ]; then if [ -e /usr/lib/php/php-maintscript-helper ]; then . /usr/lib/php/php-maintscript-helper mods=$(phpquery -M -v 8.1) for mod in $mods; do php_invoke dismod 8.1 phpdbg $mod done else for mod in /etc/php/8.1/phpdbg/conf.d/*.ini; do rm -f $mod for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do rm -f $mod$ext done done fi fi exit 0
💾 保存文件
← 返回文件管理器