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