I think gpm's scripts are missing some double quotes ...


[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -qp --scripts gpm-1.19.2-4mdk.i586.rpm
postinstall script (through /bin/sh):
/sbin/chkconfig --add gpm
/sbin/ldconfig
if [ -x "/sbin/install-info" ]; then
/sbin/install-info /usr/share/info/gpm.info.bz2
--dir=/usr/share/info/dir;fi
preuninstall script (through /bin/sh):
if [ $1 = 0 ]; then
     ^^^^^^
 /sbin/chkconfig --del gpm
fi
if [ "$1" = "0" ];then /sbin/install-info \
 /usr/share/info/gpm.info.bz2 --dir=/usr/share/info/dir --remove ;fi
postuninstall program: /sbin/ldconfig


--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]



Reply via email to