- 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
This commit is contained in:
Thorsten Kukuk 2018-04-11 13:25:33 +00:00 committed by Git OBS Bridge
parent 283a2d2d9a
commit 135c4f6c6a
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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