Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 548bc7fc671a1968f9ecb01000c2c78e > scriptlet

firestarter-1.0.3-1.amd64.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
    
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/firestarter.schemas > /dev/null 
fi 
	if [ -f /var/lock/subsys/firestarter ]; then
		/etc/rc.d/init.d/firestarter stop 1>&2
	fi
	/sbin/chkconfig --del firestarter
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/firestarter.schemas > /dev/null 
    {\
	umask 022; \
	/usr/bin/update-desktop-database; \
}
/sbin/chkconfig --add firestarter
if [ -f /var/lock/subsys/firestarter ]; then
	/etc/rc.d/init.d/firestarter restart 1>&2
else
	echo "Run \"/etc/rc.d/init.d/firestarter start\" to start firestarter."
fi

POSTUN

/bin/sh
{ \
if [ $1 = 0 ]; then \
	umask 022; \
	/usr/bin/update-desktop-database; \
fi \
}