curl test hinzugefügt

This commit is contained in:
Czechman 2023-01-11 16:18:50 +01:00
parent 2e29f5d7ed
commit 085bcebb85
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@
# Alle Konfigurationsparameter werden aus der config.env Datei gelesen # Alle Konfigurationsparameter werden aus der config.env Datei gelesen
############################################# #############################################
configfile="config.env" configfile="config.env"
# prüfen ob curl installiert ist und ggf, nachinstallieren
test /usr/bin/curl || apk add -U curl
if [ ! -r "$configfile" ]; then if [ ! -r "$configfile" ]; then
echo "$configfile does not exist or isn't readable" echo "$configfile does not exist or isn't readable"