PREUN
/bin/sh
if [ $1 = 0 ]; then
umask 022;
GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gramps.schemas > /dev/null
fi
POSTIN
/bin/sh
umask 022;
GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/gramps.schemas > /dev/null
{ \
umask 022; \
/usr/bin/update-desktop-database; \
}
/usr/bin/scrollkeeper-update -q;
RPM_SCRIPTVERBOSITY=5
[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
if [ -x /usr/bin/banner.sh ]; then
CMD="/usr/bin/banner.sh --stderr $([ $RPM_SCRIPTVERBOSITY -ge 5 ] && echo -s) -m gramps"
else
CMD="cat >&2"
fi
eval $CMD << EOF
Following packages are strongly recommended to be installed:
- graphviz (for creation of graphs)
- python-ReportLab (for creation of PDF documents)
EOF
POSTUN
/bin/sh
{ \
if [ $1 = 0 ]; then \
umask 022; \
/usr/bin/update-desktop-database; \
fi \
}
if [ $1 = 0 ]; then
/usr/bin/scrollkeeper-update -q;
fi