home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix.
[config]
/
buster
/
setup_scripts
/
setup_website.sh
diff --git
a/buster/setup_scripts/setup_website.sh
b/buster/setup_scripts/setup_website.sh
index aefb9a8fa20453eb37b9f8ec0c44a934428bb03c..08739032c91debb9f010ccd5c83325d4e985c556 100755
(executable)
--- 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
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
echo "Need init state to be either 'old' or 'new'"
false
fi