fix: Download links (#1035)

This commit is contained in:
Kroese 2025-02-15 04:49:24 +01:00 committed by GitHub
parent c0f5cca574
commit faa7c58366
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 344 deletions

View file

@ -76,8 +76,6 @@ startInstall() {
BOOT="$STORAGE/$file"
! migrateFiles "$BOOT" "$VERSION" && error "Migration failed!" && exit 57
fi
skipInstall "$BOOT" && return 1
@ -668,6 +666,11 @@ updateXML() {
sed -z "s/<AdministratorPassword>...............<Value \/>/<AdministratorPassword>\n <Value>$admin<\/Value>/g" -i "$asset"
fi
if [ -n "$EDITION" ]; then
[[ "${EDITION^^}" == "CORE" ]] && EDITION="STANDARDCORE"
sed -i "s/SERVERSTANDARD<\/Value>/SERVER${EDITION^^}<\/Value>/g" "$asset"
fi
return 0
}