Another fix

master
Meliurwen 4 years ago
parent ac7c774c66
commit 9d75f1cd1f
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 4
      deploy.sh
  2. 2
      getsauce.sh
  3. 2
      movedebs.sh
  4. 5
      repo-sign.sh
  5. 2
      repo-update.sh

@ -23,8 +23,8 @@ Dependencies: openssh-client
exit 0 exit 0
fi fi
if [ $# -lt 4 ]; then if [ $# -lt 3 ]; then
echo "Mandatory arguments: 'DIST_DIR', 'INCOMING_DIR', 'INCOMING_DIR'. Aborting..." echo "Mandatory arguments: 'DIST_DIR', 'INCOMING_DIR', 'READY_SUFFIX'. Aborting..."
exit 1 exit 1
fi fi

@ -24,7 +24,7 @@ Dependencies: curl jq ca-certificates git
exit 0 exit 0
fi fi
if [ $# -lt 3 ]; then if [ $# -lt 2 ]; then
echo "Arguments \"mode\" and \"URL/repoName\" not provided. Aborting..." echo "Arguments \"mode\" and \"URL/repoName\" not provided. Aborting..."
exit 1 exit 1
fi fi

@ -23,7 +23,7 @@ Dependencies: -
exit 0 exit 0
fi fi
if [ $# -lt 4 ]; then if [ $# -lt 3 ]; then
echo "Mandatory arguments: 'MAIN_DIR', 'INCOMING_DIR', 'INCOMING_DIR'. Aborting..." echo "Mandatory arguments: 'MAIN_DIR', 'INCOMING_DIR', 'INCOMING_DIR'. Aborting..."
exit 1 exit 1
fi fi

@ -22,11 +22,6 @@ Dependencies: -
exit 0 exit 0
fi fi
if [ $# -lt 1 ]; then
echo "Mandatory arguments: 'REPO_PATH'. Aborting..."
exit 1
fi
REPO_PATH="${1}" REPO_PATH="${1}"
[ -n "${2+x}" ] && GPG_SUBKEY_ID="${2}" [ -n "${2+x}" ] && GPG_SUBKEY_ID="${2}"

@ -22,7 +22,7 @@ Dependencies: -
exit 0 exit 0
fi fi
if [ $# -lt 3 ]; then if [ $# -lt 2 ]; then
echo "Mandatory arguments: 'REPO_PATH', 'TEMP_DIR'. Aborting..." echo "Mandatory arguments: 'REPO_PATH', 'TEMP_DIR'. Aborting..."
exit 1 exit 1
fi fi

Loading…
Cancel
Save