diff options
author | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:41:46 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:41:46 +0000 |
commit | 681b68d020ad3c9e47fa1d8c2c1c15368cdfbcc0 (patch) | |
tree | 9737d3e471cecd66de141faa551d45fd3d81c6b0 /print/xdvi | |
parent | db000ac3c966bd2fa95b11bf2a4b6b6a54ebbe69 (diff) | |
download | ports-681b68d020ad3c9e47fa1d8c2c1c15368cdfbcc0.tar.gz ports-681b68d020ad3c9e47fa1d8c2c1c15368cdfbcc0.zip |
Notes
Diffstat (limited to 'print/xdvi')
-rw-r--r-- | print/xdvi/pkg-deinstall | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/print/xdvi/pkg-deinstall b/print/xdvi/pkg-deinstall index 6a3fcb2b7885..2149add34d40 100644 --- a/print/xdvi/pkg-deinstall +++ b/print/xdvi/pkg-deinstall @@ -10,12 +10,13 @@ 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 - |