summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <11465594+TrainDoctor@users.noreply.github.com>2022-06-06 13:16:44 -0700
committerGitHub <noreply@github.com>2022-06-06 13:16:44 -0700
commitf82848071540ed55173f697054766d38554d5d29 (patch)
tree116db159e808d9ed01343dd0205fbd204e0b7361
parented1a9222b4b8693ad95d1c3081ae9d446762d12c (diff)
downloaddecky-loader-f82848071540ed55173f697054766d38554d5d29.tar.gz
decky-loader-f82848071540ed55173f697054766d38554d5d29.zip
Clarified password is for deck user
-rwxr-xr-xcontrib/deck.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/deck.sh b/contrib/deck.sh
index 7415c59b..ea27e310 100755
--- a/contrib/deck.sh
+++ b/contrib/deck.sh
@@ -80,14 +80,6 @@ checksshport() {
fi
}
-checkpassword() {
- ### check to make sure a password was specified
- if [[ "$1" == "" ]] || ! [[ "$1" =~ ^[[:alnum:]]+$ ]]; then
- printf "Password was not provided, exiting.\n"
- exit 1
- fi
-}
-
checksshkey() {
### check if ssh key is present at location provided
if [[ "$1" == "" ]]; then
@@ -102,6 +94,14 @@ checksshkey() {
fi
}
+checkpassword() {
+ ### check to make sure a password for 'deck' was specified
+ if [[ "$1" == "" ]] || ! [[ "$1" =~ ^[[:alnum:]]+$ ]]; then
+ printf "Remote deck user password was not provided, exiting.\n"
+ exit 1
+ fi
+}
+
clonefromto() {
# printf "repo=$1\n"
# printf "outdir=$2\n"