summaryrefslogtreecommitdiff
path: root/debian/libgcj-common.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libgcj-common.preinst')
-rw-r--r--debian/libgcj-common.preinst21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/libgcj-common.preinst b/debian/libgcj-common.preinst
new file mode 100644
index 0000000..38a71de
--- /dev/null
+++ b/debian/libgcj-common.preinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ install|upgrade)
+ if [ -L /usr/share/doc/libgcj-common ]; then
+ rm -f /usr/share/doc/libgcj-common
+ fi
+ ;;
+ abort-upgrade)
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0