diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-05-03 11:49:50 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-05-03 11:49:50 +0200 |
commit | 2907da2c918b477e114eb55e33ed1ab25a0c699a (patch) | |
tree | 2986e82cf019a1c7e74ec95724e24087d8930548 /core/pam | |
parent | fdfdf6b81f143309a46432c7342836f9222fbc31 (diff) | |
download | packages-2907da2c918b477e114eb55e33ed1ab25a0c699a.tar.xz |
core/pam: remove sag-pam_userdb.html only if it exists
Diffstat (limited to 'core/pam')
-rw-r--r-- | core/pam/PKGBUILD | 7 |
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@ + ' +)" |