Files
2026-03-10 19:14:51 -07:00

24 lines
437 B
Bash

#!/bin/sh
set -e
case "$1" in
remove|upgrade|deconfigure)
if [ -d /run/systemd/system ]; then
systemctl stop age-verification-daemon.service >/dev/null 2>&1 || true
systemctl disable age-verification-daemon.service >/dev/null 2>&1 || true
fi
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument '$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0