Fehler in Upgradescript Debian 12 auf 13 [GELÖST]
Fehler in Upgradescript Debian 12 auf 13
Ja
Server-Betriebssystem + Version
Debian 12.13 (64-bit)
Eingesetzte Server-Virtualisierung-Technologie
KVM (Proxmox)
KeyHelp-Version + Build-Nummer
z.B. 26.0 - Build 3618
https://install.keyhelp.de/scripts/upgr ... _system.sh UPGRADER_VERSION=1
Problembeschreibung / Fehlermeldungen
Ein Precheck des Updatescripts hat einen Fehler zu Tage gefördert, der nicht zwangsläufig Probleme verursacht, aber korrigiert werden sollte:
Bugreport:
The script defines check_curl twice (lines 143–148 and 151–158). In bash the second definition wins, so the call on line 318 does not verify that curl is installed — it only checks that -s and -c are not used together. The real curl check is never executed. If curl were missing, you’d get a confusing failure later on download instead of a clear message.
The comment on line 151 also says “Checks parameter sanity” but the function is still named check_curl.
Erwartetes Ergebnis
Abfrage auf Vorhandensein von curl
Tatsächliches Ergebnis
Abfrage erfolgt nicht
Grüße
Andreas
.
Re: Fehler in Upgradescript Debian 12 auf 13 [GELÖST]
Danke, ist korrigiert.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************