Index: head/print/xdvi/pkg-deinstall =================================================================== --- head/print/xdvi/pkg-deinstall (revision 20050) +++ head/print/xdvi/pkg-deinstall (revision 20051) @@ -1,21 +1,22 @@ #!/bin/sh prefix=/usr/local cat << END Installing xdvi will remove $prefix/MakeTeXPK. This file may be used by dvips or other programs. If this is the case, you must make a backup of this file now. END -echo -n "do you want to deinstall the package ? [y] " -read answ; if [ "$answ" = "" ]; then answ=y; fi -case $answ in - y*|Y*) break;; - *) exit 1;; -esac +if [ -z ${PACKAGE_BUILDING} ]; then + echo -n "do you want to deinstall the package ? [y] " + read answ; if [ "$answ" = "" ]; then answ=y; fi + case $answ in + y*|Y*) break;; + *) exit 1;; + esac +fi exit 0 - Property changes on: head/print/xdvi/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property