Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > main-release > by-pkgid > e28b122845ea274e49531a740a479409 > scriptlet

gpm-1.20.6-5.x86_64.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service gpm $1 gpm 
if [ "$1" = "0" ]; then if [[ -f /usr/share/info/gpm.info.xz ]]; then /sbin/install-info /usr/share/info/gpm.info.xz --dir=/usr/share/info/dir --remove ; fi; fi

POSTIN

/bin/sh
/usr/share/rpm-helper/add-service gpm $1 gpm 
if [ -x "/sbin/install-info" ]; then
if [[ -f /usr/share/info/gpm.info.xz ]]; then /sbin/install-info /usr/share/info/gpm.info.xz --dir=/usr/share/info/dir; fi 
fi

# handle init sequence change
if [ -f /etc/rc5.d/S85gpm ]; then
	/sbin/chkconfig --add gpm
fi