PREIN
/bin/sh
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GConf
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/gnome-activity-journal.schemas >/dev/null || :
fi
PREUN
/bin/sh
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GConf
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/gnome-activity-journal.schemas > /dev/null || :
fi
POSTIN
/bin/sh
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
touch --no-create /usr/share/icons/hicolor &>/dev/null || :
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GConf
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/gnome-activity-journal.schemas > /dev/null || :
POSTUN
/bin/sh
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
if [ $1 -eq 0 ] ; then
touch --no-create /usr/share/icons/hicolor &>/dev/null
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
fi
POSTTRANS
/bin/sh
# From https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :