aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/debian/preinst
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-17 17:25:38 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-17 17:25:38 +0200
commitcab97f7c6fc7f3c70c0b92ef07466251f7faca9e (patch)
treef5a8fe5a84ba777bfa5fe0a786423079f19270a2 /packages/torouter-web/debian/preinst
parentd7bbc0d688a33764e8113a8e691fad5a83089a21 (diff)
parentb848fc89a09e1ac2c3de4049e2cb7294cf589820 (diff)
downloadtorouter-cab97f7c6fc7f3c70c0b92ef07466251f7faca9e.tar.gz
torouter-cab97f7c6fc7f3c70c0b92ef07466251f7faca9e.zip
Merge branch 'master' of ssh://git-rw.torproject.org/torouter
Diffstat (limited to 'packages/torouter-web/debian/preinst')
-rw-r--r--packages/torouter-web/debian/preinst35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/torouter-web/debian/preinst b/packages/torouter-web/debian/preinst
new file mode 100644
index 0000000..1cc598e
--- /dev/null
+++ b/packages/torouter-web/debian/preinst
@@ -0,0 +1,35 @@
+#!/bin/sh
+# preinst script for torouter
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade)
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0