Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3a9b31ca9b829f04644b6f44462d4f04 > scriptlet

coda-debug-client-6.0.15-1mdv2007.0.i586.rpm

PREIN

/bin/sh
#grep "^coda" /proc/mounts > /dev/null 2>&1
#if [ $? = 0 ]; then
#	echo "*** Coda is mounted: cannot install ***"
#	exit 1
#else
#	exit 0
#fi

PREUN

/bin/sh
/usr/share/rpm-helper/del-service coda-debug $1 venus 
#rm -rf /dev/cfs0
#grep "^coda" /proc/mounts > /dev/null 2>&1
#if [ $? = 0 ]; then
#	echo "*** Coda is mounted: cannot uninstall ***"
#	exit 1
#else
#	exit 0
#fi

POSTIN

/bin/sh
/usr/share/rpm-helper/add-service coda-debug $1 venus 
#mknod /dev/cfs0 c 67 0
#if [ -e /usr/coda/venus.cache/pid ]; then 
#    rm -f /usr/coda/venus.cache/pid
#fi
#if [ ! -e /etc/coda/venus.conf ]; then 
#	/usr/sbin/venus-setup testserver.coda.cs.cmu.edu 100000
#fi