systemd/debian/systemd.postrm
Michael Stapelberg 1b3b8ecbb4 don’t delete the systemd-journal group on postrm
This will cause breakage because the files are left there. Other
packages can add new groups which re-use the old IDs and you end up with
weird and unintentional ACLs.

See also https://wiki.debian.org/AccountHandlingInMaintainerScripts
2013-11-28 22:21:56 +01:00

13 lines
203 B
Bash

#!/bin/sh
set -e
case "$1" in
purge)
rm -f /var/lib/systemd/catalog/database
rmdir --ignore-fail-on-non-empty /var/lib/systemd/catalog 2> /dev/null || true
;;
esac
#DEBHELPER#