POSTIN
/bin/sh
if [ "$1" = "1" ]; then
if [ -f /etc/pam.d/bindconf ] && [ -f /etc/pam.d/system-config-bind ] && [ ! -L /etc/pam.d/bindconf ]; then
/bin/rm -f /etc/pam.d/bindconf;
/bin/ln -s /etc/pam.d/system-config-bind /etc/pam.d/bindconf;
fi
if [ -f /etc/security/console.apps/bindconf ] && [ -f /etc/security/console.apps/system-config-bind ] && [ ! -L /etc/security/console.apps/bindconf ]; then
/bin/rm -f /etc/security/console.apps/bindconf;
/bin/ln -s /etc/security/console.apps/system-config-bind /etc/security/console.apps/bindconf;
fi
/bin/touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
fi
POSTUN
/bin/sh
if [ "$1" -eq 0 ]; then
/bin/touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor
fi;
fi;
Triggers
system-config-bind <=
4.0.0-28
/bin/sh
if [ "$2" -gt 0 ]; then
# remove some CVS directories that got included by mistake, which can cause
# "initializing from defaults" to fail
[ -d /usr/share/system-config-bind/profiles/CVS ] && /bin/rm -rf /usr/share/system-config-bind/profiles/CVS;
[ -d /usr/share/system-config-bind/profiles/default/CVS ] && /bin/rm -rf /usr/share/system-config-bind/profiles/default/CVS;
[ -d /usr/share/system-config-bind/profiles/default/named/CVS ] && /bin/rm -rf /usr/share/system-config-bind/profiles/default/named/CVS;
:;
fi