Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/lib/dpkg/info/ |
Upload File : |
#! /bin/sh set -e if [ "$1" = "purge" ]; then pc=$(dpkg-query -f '${db:Status-Abbrev} ${binary:Package}\n' -W libpython3.12-minimal \ | grep -v '^.n' | wc -l) if [ "$pc" -lt 1 ]; then find /usr/lib/python3.12 -depth -type d -name __pycache__ \ | xargs -r rm -rf rm -f /etc/python3.12/sitecustomize.py rm -rf /etc/python3.12/__pycache__ if [ -d /etc/python3.12 ]; then rmdir --ignore-fail-on-non-empty /etc/python3.12 fi fi fi exit 0