Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 0921938a662ebf07c421e0838b3ff97b > scriptlet

iodine-client-0.6.0-0.rc1.10.fc18.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ] ; then
	# Package removal, not upgrade
	/bin/systemctl --no-reload disable iodine-client.service > /dev/null 2>&1 || :
	/bin/systemctl stop iodine-client.service > /dev/null 2>&1 || :
fi

POSTIN

/bin/sh
if [ $1 -eq 1 ] ; then
	# Initial installation
	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi

POSTUN

/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
	# Package upgrade, not uninstall
	/bin/systemctl try-restart iodine-client.service >/dev/null 2>&1 || :
fi