Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 4b87dac21390e021defd99688c44a3f8 > scriptlet

gramps-2.0.8-2.amd64.rpm

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