Skip to content
Snippets Groups Projects
Unverified Commit 95daa5d8 authored by Oskar Manhart's avatar Oskar Manhart Committed by GitHub
Browse files

fix: properly specify curl output

parent ace4075b
No related branches found
No related tags found
No related merge requests found
......@@ -185,15 +185,17 @@ function waGetSourceCode() {
# Name: 'waGetInquirer'
# Role: Loads the inquirer script, even if the source isn't cloned yet
function waGetInquirer() {
local INQUIRER=$INQUIRER_PATH
if [ ! -d "$SYS_SOURCE_PATH" ] && [ ! -d "$USER_SOURCE_PATH" ]; then
INQUIRER_PATH="/tmp/waInquirer.sh"
rm -f "$INQUIRER_PATH"
INQUIRER="/tmp/waInquirer.sh"
rm -f "$INQUIRER"
curl "https://raw.githubusercontent.com/winapps-org/winapps/main/install/inquirer.sh" -O "$INQUIRER_PATH"
curl -o "$INQUIRER" "https://raw.githubusercontent.com/winapps-org/winapps/main/install/inquirer.sh"
fi
# shellcheck source=/dev/null # Exclude this file from being checked by ShellCheck.
source "$INQUIRER_PATH"
source "$INQUIRER"
}
# Name: 'waCheckInput'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment