summaryrefslogtreecommitdiff
path: root/debian/gdc.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gdc.preinst')
-rw-r--r--debian/gdc.preinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/gdc.preinst b/debian/gdc.preinst
new file mode 100644
index 0000000..277ccc7
--- /dev/null
+++ b/debian/gdc.preinst
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+if [ -L /usr/share/doc/gdc ]; then
+ echo "Removing old gdc doc directory symlink."
+ rm -rf /usr/share/doc/gdc
+fi
+
+#DEBHELPER#
+
+exit 0