mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:01:59 +00:00
Clarified password is for deck user
This commit is contained in:
+8
-8
@@ -80,14 +80,6 @@ checksshport() {
|
|||||||
fi
|
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() {
|
checksshkey() {
|
||||||
### check if ssh key is present at location provided
|
### check if ssh key is present at location provided
|
||||||
if [[ "$1" == "" ]]; then
|
if [[ "$1" == "" ]]; then
|
||||||
@@ -102,6 +94,14 @@ checksshkey() {
|
|||||||
fi
|
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() {
|
clonefromto() {
|
||||||
# printf "repo=$1\n"
|
# printf "repo=$1\n"
|
||||||
# printf "outdir=$2\n"
|
# printf "outdir=$2\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user