Initialize Git Repository: 'Repository'
All checks were successful
Repository (Bookworm) / Repository [arm64] (push) Successful in 11s
Repository (Bookworm) / Repository [amd64] (push) Successful in 10s
Repository (Noble) / Repository [arm64] (push) Successful in 10s
Repository (Noble) / Repository [amd64] (push) Successful in 11s
Repository (Trixie) / Repository [arm64] (push) Successful in 24s
Repository (Trixie) / Repository [amd64] (push) Successful in 19s

This commit is contained in:
Cantibra
2026-01-26 06:10:38 +01:00
commit a12f643308
20 changed files with 1692 additions and 0 deletions

39
root/DEBIAN/postrm Normal file
View File

@@ -0,0 +1,39 @@
#!/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 'reprepro.path' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper mask 'reprepro.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
/usr/bin/rm --force --recursive '/var/lib/reprepro/include'
/usr/bin/rm --force --recursive '/var/lib/reprepro/list'
/usr/bin/rm --force --recursive '/var/lib/reprepro/morgue'
;;
purge)
if [ -x '/usr/bin/deb-systemd-helper' ]; then
/usr/bin/deb-systemd-helper purge 'reprepro.path' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper purge 'reprepro.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'reprepro.path' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'reprepro.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
/usr/bin/rm --force --recursive '/var/lib/reprepro'
;;
esac
/usr/bin/rm --force --recursive '/var/log/reprepro'
/usr/bin/rm --force --recursive '/var/logrotate/reprepro'