Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 104.21.89.46 your ip : 108.162.241.221 H O M E |
Filename | /var/lib/dpkg/info/ufw.prerm |
Size | 566 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:55 |
Last modified | 01-Mar-2014 05:51 |
Last accessed | 07-Jul-2025 03:10 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh -e
case "$1" in
remove)
# Unload ufw (will only happen if enabled)
if [ -x /lib/ufw/ufw-init ]; then
/lib/ufw/ufw-init stop || true
fi
;;
esac
# Automatically added by dhpython:
if which py3clean >/dev/null 2>&1; then
py3clean -p ufw
else
dpkg -L ufw | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section
case "$1" in
remove)
# Unload ufw (will only happen if enabled)
if [ -x /lib/ufw/ufw-init ]; then
/lib/ufw/ufw-init stop || true
fi
;;
esac
# Automatically added by dhpython:
if which py3clean >/dev/null 2>&1; then
py3clean -p ufw
else
dpkg -L ufw | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section