ajust install package

This commit is contained in:
2026-02-08 17:18:23 +08:00
parent 6eb6ff6425
commit c83e4755e9
5 changed files with 88 additions and 2 deletions

View File

@@ -7,6 +7,12 @@ fi
if [ "$1" = "purge" ]; then
rm -rf /etc/bitoj
rm -f /etc/apparmor.d/bitoj-guards
if command -v service >/dev/null 2>&1; then
service apparmor reload >/dev/null 2>&1 || true
elif [ -x /etc/init.d/apparmor ]; then
/etc/init.d/apparmor reload >/dev/null 2>&1 || true
fi
fi
exit 0