aboutsummaryrefslogtreecommitdiff
path: root/print/dvips
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-22 16:30:43 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-22 16:30:43 +0000
commit081a82771f3511cf309003992e66a798909db1c5 (patch)
tree018d8ed04ab5c82f5a8d0bbc6c6e6f6d5386d754 /print/dvips
parent0922b5e6518baa43d5400d19b8839c7220dfd0f4 (diff)
downloadports-081a82771f3511cf309003992e66a798909db1c5.tar.gz
ports-081a82771f3511cf309003992e66a798909db1c5.zip
Avoid interactive install while PACKAGE_BUILDING.
Notes
Notes: svn path=/head/; revision=19645
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
-
-