From 135c4f6c6a491caaf5242a9157fac1e73d82da63e3e66596e62fdb66aa4c4565 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 11 Apr 2018 13:25:33 +0000 Subject: [PATCH] - Add triggerun script: update config if pam-modules is removed [bsc#1088863] OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=89 --- pam-config.changes | 6 ++++++ pam-config.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/pam-config.changes b/pam-config.changes index 8e575f6..b976bd1 100644 --- a/pam-config.changes +++ b/pam-config.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 11 13:50:25 CEST 2018 - kukuk@suse.de + +- Add triggerun script: update config if pam-modules is removed + [bsc#1088863] + ------------------------------------------------------------------- Fri Feb 23 12:36:32 UTC 2018 - kukuk@suse.com diff --git a/pam-config.spec b/pam-config.spec index 7a9c2d7..2d048ca 100644 --- a/pam-config.spec +++ b/pam-config.spec @@ -76,6 +76,10 @@ if [ $1 = 0 ]; then done fi +%triggerun -- pam-modules +[ $2 = 0 ] || exit 0 +pam-config --debug --update ||: + %files -f pam-config.lang %license COPYING %{_sbindir}/pam-config