From 7342a72d123ef56860764a052500846cb9b63497 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 8 Nov 2021 18:03:24 +0100 Subject: [PATCH] clean --- nextcloud/root/etc/cont-init.d/00-.sh | 30 ++++++++++++++------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/nextcloud/root/etc/cont-init.d/00-.sh b/nextcloud/root/etc/cont-init.d/00-.sh index 75f3f3958..394f26235 100644 --- a/nextcloud/root/etc/cont-init.d/00-.sh +++ b/nextcloud/root/etc/cont-init.d/00-.sh @@ -6,22 +6,24 @@ if [ ! -f "/usr/bin/bashio" ]; then # Install apps # ################ apk update && - apk add --no-cache \ - jq \ - curl \ - cifs-utils \ - keyutils \ - samba-client \ - samba || \ - (apt-get clean && \ + 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) + jq \ + curl \ + cifs-utils \ + keyutils \ + smbclient \ + samba + ) ################### # Install bashio #