From 2907da2c918b477e114eb55e33ed1ab25a0c699a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 3 May 2019 11:49:50 +0200 Subject: core/pam: remove sag-pam_userdb.html only if it exists --- core/pam/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 core/pam/PKGBUILD (limited to 'core') diff --git a/core/pam/PKGBUILD b/core/pam/PKGBUILD new file mode 100644 index 00000000..1c656e65 --- /dev/null +++ b/core/pam/PKGBUILD @@ -0,0 +1,7 @@ +# remove sag-pam_userdb.html only if it exists +eval "$( + declare -f package | \ + sed ' + s@rm \(.*\)@test -f \1 \&\& rm \1@ + ' +)" -- cgit v1.2.3-70-g09d2