| Server IP : 103.75.185.95 / Your IP : 216.73.217.162 Web Server : nginx/1.30.0 System : Linux cs-linux-20260509085757017 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : cuuhootoxema ( 1215) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON 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.7-minimal \
| grep -v '^.n' | wc -l)
if [ "$pc" -lt 1 ]; then
find /usr/lib/python3.7 -depth -type d -name __pycache__ \
| xargs -r rm -rf
rm -f /etc/python3.7/sitecustomize.py
rm -rf /etc/python3.7/__pycache__
if [ -d /etc/python3.7 ]; then
rmdir --ignore-fail-on-non-empty /etc/python3.7
fi
fi
fi
exit 0