aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvips
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-23 00:30:43 +0800
committersteve <steve@FreeBSD.org>1999-06-23 00:30:43 +0800
commitb5de4ab889424f2254c95d1001393536de92f684 (patch)
tree5059a8dd7c177b5061e6798503a4bc1b44c9cfb0 /print/dvips
parent3c9a3c35b77a5ee47c349cfc4fdafaaf341b6da7 (diff)
downloadfreebsd-ports-gnome-b5de4ab889424f2254c95d1001393536de92f684.tar.gz
freebsd-ports-gnome-b5de4ab889424f2254c95d1001393536de92f684.tar.zst
freebsd-ports-gnome-b5de4ab889424f2254c95d1001393536de92f684.zip
Avoid interactive install while PACKAGE_BUILDING.
Diffstat (limited to 'print/dvips')
-rw-r--r--print/dvips/pkg-install16
1 files changed, 8 insertions, 8 deletions
diff --git a/print/dvips/pkg-install b/print/dvips/pkg-install
index ba9bc1f31f5a..d5aa40a5b07e 100644
--- a/print/dvips/pkg-install
+++ b/print/dvips/pkg-install
@@ -40,15 +40,15 @@ If you are not satisfied with 3 or 4, you will need to edit $prefix/lib/texmf/ps
END
-echo -n "do you want to install 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 install the package ? [y] "
+ read answ; if [ "$answ" = "" ]; then answ=y; fi
+ case $answ in
+ y*|Y*) break;;
+ *) exit 1;;
+ esac
+fi
mkdir -p $prefix/lib/texmf/fonts/pk; chmod 1777 $prefix/lib/texmf/fonts/pk
exit 0
-
-