Files
Reprepro-Wrapper/root/DEBIAN/prerm
Cantibra 2be44ab99c
All checks were successful
Reprepro Wrapper / Reprepro Wrapper (Bookworm) [arm64] (push) Successful in 12s
Reprepro Wrapper / Reprepro Wrapper (Bookworm) [amd64] (push) Successful in 10s
Inital Commit
2025-10-26 08:05:51 +01:00

20 lines
562 B
Bash

#!/usr/bin/sh
set -e
set -u
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-invoke' ]; then
/usr/bin/deb-systemd-invoke stop 'reprepro-import.path' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke stop 'reprepro-morgue.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke disable 'reprepro-import.path' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke disable 'reprepro-morgue.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
esac