HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/unminimize.postinst
#!/bin/sh

set -e

case "$1" in
    configure)
        # ensure the file exists and its content to ensure we're removing the right file
        if [ -f "/usr/local/sbin/unminimize" ] &&
          grep -qi "This system has been minimized by removing packages" "/usr/local/sbin/unminimize"; then
            rm -f /usr/local/sbin/unminimize
        fi
    ;;

    upgrade|abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac



exit 0