aboutsummaryrefslogtreecommitdiff
path: root/print/xdvi/pkg-deinstall
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-22 00:14:30 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-22 00:14:30 +0000
commitf53d67c7e8ced503a62e337e3d352a6d8246e640 (patch)
treeede7a65bb06bd846716bd5b958f5dc04b5ee9e23 /print/xdvi/pkg-deinstall
parentab2eb29ef5093f6b4b60d0c36493921b8ed8e97a (diff)
Notes
Diffstat (limited to 'print/xdvi/pkg-deinstall')
-rw-r--r--print/xdvi/pkg-deinstall21
1 files changed, 21 insertions, 0 deletions
diff --git a/print/xdvi/pkg-deinstall b/print/xdvi/pkg-deinstall
new file mode 100644
index 000000000000..6a3fcb2b7885
--- /dev/null
+++ b/print/xdvi/pkg-deinstall
@@ -0,0 +1,21 @@
+#!/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
+
+exit 0
+