summaryrefslogtreecommitdiffstats
path: root/debian/tests/hooks/drop-hostname
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/hooks/drop-hostname17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/hooks/drop-hostname b/debian/tests/hooks/drop-hostname
new file mode 100755
index 0000000..e7b8500
--- /dev/null
+++ b/debian/tests/hooks/drop-hostname
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PREREQ=""
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case "$1" in
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+rm -f "${DESTDIR}/etc/hostname"