aboutsummaryrefslogtreecommitdiffstats
path: root/debian/lacme.postrm
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2021-02-22 20:37:57 +0100
committerGuilhem Moulin <guilhem@debian.org>2021-02-22 20:37:57 +0100
commit3d1bc4f299d693b3b3d2bc77387f866bbfc14dd9 (patch)
tree258c8b18f278bb77961a4299815de7bb4fd21c13 /debian/lacme.postrm
parentae52bdc9a590a28d89a69cab783973fcffa5cb7f (diff)
d/lacme.postrm: Don't delete system users on purge.
_lacme-www shouldn't own any file or directories, but there might be files on disk owned by _lacme-client when 'challenge-directory' is used. See https://wiki.debian.org/AccountHandlingInMaintainerScripts#Reasons_for_not_deleting_accounts .
Diffstat (limited to 'debian/lacme.postrm')
-rwxr-xr-xdebian/lacme.postrm15
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/lacme.postrm b/debian/lacme.postrm
deleted file mode 100755
index c52a198..0000000
--- a/debian/lacme.postrm
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "purge" ]; then
- if getent passwd _lacme-www >/dev/null; then
- deluser --quiet --system _lacme-www
- fi
- if getent passwd _lacme-client >/dev/null; then
- deluser --quiet --system _lacme-client
- fi
-fi
-
-#DEBHELPER#
-exit 0