mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
fix: Shellcheck
This commit is contained in:
parent
6bcd5e917f
commit
2b9fb3e7c8
1 changed files with 2 additions and 2 deletions
|
|
@ -176,14 +176,14 @@ abortInstall() {
|
|||
|
||||
detectCustom() {
|
||||
|
||||
local file
|
||||
local file base
|
||||
CUSTOM=""
|
||||
|
||||
file=$(find / -maxdepth 1 -type f -iname custom.iso | head -n 1)
|
||||
[ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso | head -n 1)
|
||||
|
||||
if [ ! -s "$file" ] && [[ "${VERSION,,}" != "http"* ]]; then
|
||||
local base=$(basename "$VERSION")
|
||||
base=$(basename "$VERSION")
|
||||
file="$STORAGE/$base"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue