add packaging scripts

This commit is contained in:
2026-02-08 14:33:02 +08:00
parent 9b20887cc2
commit 6eb6ff6425
8 changed files with 152 additions and 0 deletions

12
packaging/ubuntu/postrm Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
set -e
if command -v systemctl >/dev/null 2>&1; then
systemctl daemon-reload
fi
if [ "$1" = "purge" ]; then
rm -rf /etc/bitoj
fi
exit 0