muss natürlich so heissen: > testhalber hab ich die Zeile > if [[ $(requiredCommand "dpkg" "?") == "found" ]] ^^^^^ > > mal geändert in: > # > if [[ $(requiredCommand "dpkgx" "?") == "found" ]] ^^^^^^ > > dann läuft das script korrekt durch. >
Es gibt noch andere Möglichkeiten zu OS Detektion: lsb-release -a hostnamectl siehe <https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/> -- Gruss Bernd -- Liste abmelden mit E-Mail an: users+unsubscr...@de.libreoffice.org Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/ Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de Listenarchiv: https://listarchives.libreoffice.org/de/users/ Datenschutzerklärung: https://www.documentfoundation.org/privacy