From 6684c583b325d3f81d41a0a34f31b9544be6c295 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 28 Oct 2014 16:01:50 +0100 Subject: [PATCH] Try to get hostname. --- debian/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/config b/debian/config index 73c4f4c..bd7a5fc 100644 --- a/debian/config +++ b/debian/config @@ -4,7 +4,7 @@ set -e . /usr/share/debconf/confmodule # Guess default hostname -HOST=$( hostname -f ) +HOST=$( hostname -f || true ) db_get bacula-cn/hostname || true if [ -z "$RET" ]; then db_set bacula-cn/hostname "$HOST" -- 1.7.10.4