[Qa-jenkins-scm] [jenkins.debian.net] 01/01: set /etc/mailname if it isnt
Holger Levsen
holger at layer-acht.org
Mon Dec 26 13:34:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b3e51a63fa3185840ccbc3f17dac7ac5eedb4b5b
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Dec 26 14:34:35 2016 +0100
set /etc/mailname if it isnt
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
update_jdn.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/update_jdn.sh b/update_jdn.sh
index 5ecb974..d0351c1 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -522,6 +522,7 @@ sudo cp --preserve=mode,timestamps -r hosts/$HOSTNAME/usr/* /usr/
#
sudo chown root.root /etc/sudoers.d/jenkins ; sudo chmod 700 /etc/sudoers.d/jenkins
sudo chown root.root /etc/sudoers.d/jenkins-adm ; sudo chmod 700 /etc/sudoers.d/jenkins-adm
+[ -f /etc/mailname ] || ( echo $HOSTNAME.debian.net | sudo tee /etc/mailname )
if [ "$HOSTNAME" = "jenkins" ] ; then
if [ $BASEDIR/hosts/$HOSTNAME/etc/apache2 -nt $STAMP ] || [ ! -f $STAMP ] ; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list