aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-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
-
-