diff --git a/deploy.sh b/deploy.sh index ab1a180..ecf3dd8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -23,8 +23,8 @@ Dependencies: openssh-client exit 0 fi -if [ $# -lt 4 ]; then - echo "Mandatory arguments: 'DIST_DIR', 'INCOMING_DIR', 'INCOMING_DIR'. Aborting..." +if [ $# -lt 3 ]; then + echo "Mandatory arguments: 'DIST_DIR', 'INCOMING_DIR', 'READY_SUFFIX'. Aborting..." exit 1 fi diff --git a/getsauce.sh b/getsauce.sh index 07d2656..dd334df 100755 --- a/getsauce.sh +++ b/getsauce.sh @@ -24,7 +24,7 @@ Dependencies: curl jq ca-certificates git exit 0 fi -if [ $# -lt 3 ]; then +if [ $# -lt 2 ]; then echo "Arguments \"mode\" and \"URL/repoName\" not provided. Aborting..." exit 1 fi diff --git a/movedebs.sh b/movedebs.sh index 050633f..cad4cc6 100755 --- a/movedebs.sh +++ b/movedebs.sh @@ -23,7 +23,7 @@ Dependencies: - exit 0 fi -if [ $# -lt 4 ]; then +if [ $# -lt 3 ]; then echo "Mandatory arguments: 'MAIN_DIR', 'INCOMING_DIR', 'INCOMING_DIR'. Aborting..." exit 1 fi diff --git a/repo-sign.sh b/repo-sign.sh index 602d119..18d0bd9 100755 --- a/repo-sign.sh +++ b/repo-sign.sh @@ -22,11 +22,6 @@ Dependencies: - exit 0 fi -if [ $# -lt 1 ]; then - echo "Mandatory arguments: 'REPO_PATH'. Aborting..." - exit 1 -fi - REPO_PATH="${1}" [ -n "${2+x}" ] && GPG_SUBKEY_ID="${2}" diff --git a/repo-update.sh b/repo-update.sh index 4168f93..8409728 100755 --- a/repo-update.sh +++ b/repo-update.sh @@ -22,7 +22,7 @@ Dependencies: - exit 0 fi -if [ $# -lt 3 ]; then +if [ $# -lt 2 ]; then echo "Mandatory arguments: 'REPO_PATH', 'TEMP_DIR'. Aborting..." exit 1 fi