projects
/
bacula-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0bce4d
)
Try to get hostname.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Tue, 28 Oct 2014 15:01:50 +0000
(16:01 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Tue, 28 Oct 2014 15:01:50 +0000
(16:01 +0100)
debian/config
patch
|
blob
|
history
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"