Update configs
This commit is contained in:
parent
028d3d7760
commit
ddcc044ec6
8 changed files with 30 additions and 11 deletions
|
@ -73,7 +73,7 @@ _autoinstall_file () {
|
|||
file_path=$(dirname "$2")
|
||||
mkdir -p "$file_path"
|
||||
cd "$file_path" || exit
|
||||
curl -LsSo "$2" "$1"
|
||||
curl -fsSLo "$2" "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ _autoinstall_archive () {
|
|||
file_path=$(dirname "$2")
|
||||
mkdir -p "$file_path"
|
||||
cd "$file_path" || exit
|
||||
curl -LsSo "$2" "$1"
|
||||
curl -fsSLo "$2" "$1"
|
||||
tar xaf "$2"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue