From: Christian Heller Date: Wed, 15 Apr 2020 19:59:23 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/edit?a=commitdiff_plain;h=4c8947efd6d756dbbd42ebe5610ae6ea8875aeb9;p=config Fix. --- diff --git a/buster/setup_scripts/setup_website.sh b/buster/setup_scripts/setup_website.sh index aefb9a8..0873903 100755 --- a/buster/setup_scripts/setup_website.sh +++ b/buster/setup_scripts/setup_website.sh @@ -5,7 +5,7 @@ if [ "$#" -ne 5 ]; then echo 'Need domain name and mail and old server IP and key ID and init state (old, new?) as argument.' false fi -if [ ! "$5" = "old" ] && [ ! "$1" = "new" ]; then +if [ ! "$5" = "old" ] && [ ! "$5" = "new" ]; then echo "Need init state to be either 'old' or 'new'" false fi