You've already forked 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
18 lines
431 B
Bash
18 lines
431 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.path' > '/dev/null' 2>&1 || \
|
|
/usr/bin/true
|
|
/usr/bin/deb-systemd-invoke stop 'reprepro.service' > '/dev/null' 2>&1 || \
|
|
/usr/bin/true
|
|
/usr/bin/deb-systemd-invoke disable 'reprepro.path' > '/dev/null' 2>&1 || \
|
|
/usr/bin/true
|
|
fi
|
|
;;
|
|
esac
|