Initialize Git Repository: 'Trash-Bin'
All checks were successful
Trash Bin (Bookworm) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Bookworm) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [amd64] (push) Successful in 12s

This commit is contained in:
Cantibra
2026-01-26 06:10:52 +01:00
commit 69bd9276cb
17 changed files with 1274 additions and 0 deletions

33
root/DEBIAN/postrm Normal file
View File

@@ -0,0 +1,33 @@
#!/usr/bin/sh
set -e
set -u
if [ -d '/run/systemd/system' ]; then
/usr/bin/systemctl --system daemon-reload > '/dev/null' 2>&1 || \
/usr/bin/true
fi
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-helper' ]; then
/usr/bin/deb-systemd-helper mask 'trash-bin.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper mask 'trash-bin.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
purge)
if [ -x '/usr/bin/deb-systemd-helper' ]; then
/usr/bin/deb-systemd-helper purge 'trash-bin.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper purge 'trash-bin.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'trash-bin.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'trash-bin.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
/usr/bin/rm --force --recursive '/var/trash'
;;
esac