Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-05-03 11:49:50 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-05-03 11:49:50 +0200
commit2907da2c918b477e114eb55e33ed1ab25a0c699a (patch)
tree2986e82cf019a1c7e74ec95724e24087d8930548
parentfdfdf6b81f143309a46432c7342836f9222fbc31 (diff)
core/pam: remove sag-pam_userdb.html only if it exists
-rw-r--r--core/pam/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
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@
+ '
+)"