void-packages/srcpkgs/sudo/REMOVE

10 lines
163 B
Plaintext

#
# This script fragment removes etc/sudoers.d at post remove time
# and only if it's empty.
#
case "${ACTION}" in
post)
rmdir etc/sudoers.d 2>/dev/null
;;
esac