diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:37:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:37:39 +0000 |
commit | c015179efce5825c16d68ec81530d82631cd2cf7 (patch) | |
tree | 186c902f87903d06ece7d840b230c37383e86f50 /debian/sudo.postrm | |
parent | Adding upstream version 1.9.13p3. (diff) | |
download | sudo-c015179efce5825c16d68ec81530d82631cd2cf7.tar.xz sudo-c015179efce5825c16d68ec81530d82631cd2cf7.zip |
Adding debian version 1.9.13p3-1+deb12u1.debian/1.9.13p3-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/sudo.postrm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/sudo.postrm b/debian/sudo.postrm new file mode 100644 index 0000000..5276bf9 --- /dev/null +++ b/debian/sudo.postrm @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +case "$1" in + purge) + rm -rf /var/lib/sudo + rm -rf /run/sudo + ;; + + remove|upgrade|deconfigure) + ;; + + abort-upgrade|failed-upgrade) + if [ -e "/etc/sudoers.pre-conffile" ]; then + mv /etc/sudoers.pre-conffile /etc/sudoers + fi + ;; + + *) + echo "unknown argument --> $1" >&2 + exit 0 + ;; +esac + +#DEBHELPER# |