diff --git a/baselibs.conf b/baselibs.conf index 65621e9..7342259 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,19 +1,13 @@ systemd supplements "packageand(systemd:pam-)" -/lib/systemd/system/ + post "/sbin/ldconfig" post "%{_sbindir}/pam-config -a --systemd || :" - post "/sbin/ldconfig" + postun "/sbin/ldconfig" + postun "if [ "$1" == "0" ]; then" postun "%{_sbindir}/pam-config -d --systemd || :" - postun "/sbin/ldconfig" + postun "fi" libudev0 - post "/sbin/ldconfig" - postun "/sbin/ldconfig" libgudev-1_0-0 - post "/sbin/ldconfig" - postun "/sbin/ldconfig" libudev1 - post "/sbin/ldconfig" - postun "/sbin/ldconfig" nss-myhostname - post "/sbin/ldconfig" - postun "/sbin/ldconfig"