home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Differentiate init_state options for *site scripts.
[config]
/
buster
/
setup_scripts
/
setup_dumpsite.sh
diff --git
a/buster/setup_scripts/setup_dumpsite.sh
b/buster/setup_scripts/setup_dumpsite.sh
index 4a7200372a9a2a3edc402865ae39073feac65cd5..da4c4415cc82558a0c55f8bd18ffc2f3d5f87eb7 100755
(executable)
--- a/
buster/setup_scripts/setup_dumpsite.sh
+++ b/
buster/setup_scripts/setup_dumpsite.sh
@@
-6,8
+6,8
@@
if [ "$#" -ne 4 ]; then
echo 'Need domain name and mail and old server and init state (old, new?).'
false
fi
echo 'Need domain name and mail and old server and init state (old, new?).'
false
fi
-if [ ! "$4" = "
old
" ] && [ ! "$4" = "new" ]; then
- echo "Need init state to be either '
old
' or 'new'"
+if [ ! "$4" = "
copy
" ] && [ ! "$4" = "new" ]; then
+ echo "Need init state to be either '
copy
' or 'new'"
false
fi
domain="$1"
false
fi
domain="$1"