Update install.sh
This commit is contained in:
parent
e9087a6eb3
commit
a43c393773
1 changed files with 0 additions and 5 deletions
|
@ -4,11 +4,6 @@ set -Eeuo pipefail
|
|||
file=$(find / -maxdepth 1 -type f -iname boot.iso | head -n 1)
|
||||
[ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso | head -n 1)
|
||||
|
||||
if [ ! -s "$file" ] && [[ "${BOOT,,}" != "http"* ]]; then
|
||||
base=$(basename "$BOOT")
|
||||
file="$STORAGE/$base"
|
||||
fi
|
||||
|
||||
if [ -f "$file" ] && [ -s "$file" ]; then
|
||||
BOOT="$file"
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue