X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_dumpsite.sh;h=da4c4415cc82558a0c55f8bd18ffc2f3d5f87eb7;hp=4a7200372a9a2a3edc402865ae39073feac65cd5;hb=dcebca7ba214a0a7961c84176606f6e4ae696e02;hpb=229bf1d61b7c115094a2c065ecdb9df4f04ed4dd diff --git a/buster/setup_scripts/setup_dumpsite.sh b/buster/setup_scripts/setup_dumpsite.sh index 4a72003..da4c441 100755 --- 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 -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"