Update install.sh

This commit is contained in:
Kroese 2025-04-02 22:35:54 +02:00 committed by GitHub
parent 3d62989859
commit 7d082589a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -501,7 +501,7 @@ setXML() {
local file="/custom.xml" local file="/custom.xml"
if [ -d "$file" ]; then if [ -d "$file" ]; then
warn "The file $file does not exist, please make sure that you mapped it to a valid path!" error "The bind $file maps to a file that does not exist!" && exit 67
fi fi
[ ! -f "$file" ] || [ ! -s "$file" ] && file="$STORAGE/custom.xml" [ ! -f "$file" ] || [ ! -s "$file" ] && file="$STORAGE/custom.xml"