Update install.sh

This commit is contained in:
Kroese 2024-04-28 11:18:53 +02:00 committed by GitHub
parent b45f33323a
commit fc83e5aed6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1085,6 +1085,9 @@ copyOEM() {
[ ! -d "$folder" ] && folder="$STORAGE/shared/OEM"
[ ! -d "$folder" ] && return 0
local msg="Copying OEM folder to image..."
info "$msg" && html "$msg"
src=$(find "$dir" -maxdepth 1 -type d -iname sources | head -n 1)
if [ ! -d "$src" ]; then