From: Christian Heller Date: Sun, 7 Feb 2016 23:19:36 +0000 (+0100) Subject: Fix bug in string replacement introduced in previous commit. X-Git-Url: https://plomlompom.com/repos/calendar?a=commitdiff_plain;h=00ca69c32a596e02eeafd60a9a5008d39e114eca;p=config Fix bug in string replacement introduced in previous commit. --- diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 98e8a81..2d01b51 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -182,7 +182,7 @@ if [ "$1" = "server" ]; then DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt \ postfix maildrop cp config/systemfiles/main.cf /etc/postfix/main.cf - sed -i 's/HOSTNAME/'.$2.'/g' /etc/postfix/main.cf + sed -i 's/HOSTNAME/'$2'/g' /etc/postfix/main.cf cp config/systemfiles/aliases /etc/aliases newaliases service postfix restart