Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e6eb58048e8ed4ef40fa3ba2f3251aa6 > scriptlet

php-pear-HTML_Select-1.2.1-9mdv2010.0.noarch.rpm

PREUN

/bin/sh
if [ "$1" = 0 ]; then
	if [ -x /usr/bin/pear -a -f /usr/share/pear/packages/HTML_Select.xml ]; then
		/usr/bin/pear uninstall --nodeps -r HTML_Select
	fi
fi

POSTIN

/bin/sh
if [ "$1" = "1" ]; then
	if [ -x /usr/bin/pear -a -f /usr/share/pear/packages/HTML_Select.xml ]; then
		/usr/bin/pear install --nodeps -r /usr/share/pear/packages/HTML_Select.xml
	fi
fi
if [ "$1" = "2" ]; then
	if [ -x /usr/bin/pear -a -f /usr/share/pear/packages/HTML_Select.xml ]; then
		/usr/bin/pear upgrade -f --nodeps -r /usr/share/pear/packages/HTML_Select.xml
	fi
fi