aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>2015-08-06 10:16:49 +0200
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>2015-08-06 10:16:54 +0200
commit45c4b579b701591777915595124178f27b1fc9ca (patch)
tree4ea596a1523711625e5e6ba50914a7521e7ff9c3 /pbuilder-modules
parent3a4cf9574b109ea8cf0a43334706613b1b6539a6 (diff)
downloadpbuilder-45c4b579b701591777915595124178f27b1fc9ca.tar
pbuilder-45c4b579b701591777915595124178f27b1fc9ca.tar.gz
Thanks to TG for the bad feedback! More than one value aren't allowed in that file
Revert "Use a hostname -A as fallback in case of -f fails (Closes: #637627)" This reverts commit c2087b165bd0fdc6511df4c874390359b290b8bf.
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index 7568176..f28b2db 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -482,7 +482,7 @@ function extractbuildplace () {
exit 1
fi
log "I: creating local configuration"
- hostname -f || hostname -A > "$BUILDPLACE/etc/mailname"
+ hostname -f > "$BUILDPLACE/etc/mailname"
fi
copy_local_configuration