]> git.mxchange.org Git - friendica.git/commitdiff
Vagrant: create the correct mail aliases during provision
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 1 Oct 2021 08:18:43 +0000 (10:18 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 1 Oct 2021 08:18:43 +0000 (10:18 +0200)
bin/dev/vagrant_provision.sh

index 6eb9460bd618e1b2ed6b0326e22d8370b51a6c08..2dc386a4b42641a6e5c3e5101edc5033c965fa05 100755 (executable)
@@ -82,7 +82,7 @@ echo ">>> Installing 'Local Only' postfix"
 debconf-set-selections <<< "postfix postfix/mailname string friendica.local"
 debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local Only'"
 apt-get install -qq postfix mailutils libmailutils-dev
-echo -e "friendica1:   vagrant\nfriendica2:    vagrant\nfriendica3:    vagrant\nfriendica4:    vagrant\nfriendica5:    vagrant" >> /etc/aliases && newaliases
+echo -e "$ADMIN_NICK:  vagrant\n$USER_NICK:    vagrant" >> /etc/aliases && newaliases
 
 # Friendica needs git for fetching some dependencies
 echo ">>> Installing git"