From a44070e2aa885de17d77598d013f75a60303c341 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 8 Nov 2021 17:54:22 +0100 Subject: [PATCH] Update 00-.sh --- nextcloud/root/etc/cont-init.d/00-.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nextcloud/root/etc/cont-init.d/00-.sh b/nextcloud/root/etc/cont-init.d/00-.sh index 784b3da79..75f3f3958 100644 --- a/nextcloud/root/etc/cont-init.d/00-.sh +++ b/nextcloud/root/etc/cont-init.d/00-.sh @@ -5,23 +5,23 @@ if [ ! -f "/usr/bin/bashio" ]; then ################ # Install apps # ################ - apt-get clean && - apt-get update && + apk update && + apk add --no-cache \ + jq \ + curl \ + cifs-utils \ + keyutils \ + samba-client \ + samba || \ + (apt-get clean && \ + apt-get update && \ apt-get install -y --no-install-recommends \ jq \ curl \ cifs-utils \ keyutils \ smbclient \ - samba || - ( apk update && - apk add --no-cache \ - jq \ - curl \ - cifs-utils \ - keyutils \ - samba-client \ - samba ) + samba) ################### # Install bashio #