projects
/
bacula-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to get hostname.
[bacula-cn.git]
/
debian
/
config
diff --git
a/debian/config
b/debian/config
index
73c4f4c
..
bd7a5fc
100644
(file)
--- 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"