diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index 414bcaf26..129ec397a 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -56,12 +56,12 @@ elif [[ $($LAUNCHER -V 2>&1) == *"Nextcloud"* ]]; then bashio::log.green "--------------------------------------" bashio::log.green "Nextcloud $CURRENTVERSION is installed" bashio::log.green "--------------------------------------" -# Is there an error + # Is there an error elif [[ $($LAUNCHER -V 2>&1) == *"Composer autoloader not found"* ]]; then bashio::log.red "--------------------------------------------------------" bashio::log.red "Issue in installation detected, Nextcloud will reinstall" bashio::log.red "--------------------------------------------------------" - touch /reinstall + touch /reinstall else bashio::log.red "------------------------------------------------------------------" bashio::log.red "Unknown error detected, please create issue in github or reinstall" @@ -109,13 +109,13 @@ if [ -f /reinstall ]; then mkdir -p /app if [ -f /app/nextcloud.tar.bz2 ]; then rm /app/nextcloud.tar.bz2; fi curl -o /app/nextcloud.tar.bz2 -L "https://download.nextcloud.com/server/releases/nextcloud-${CURRENTVERSION}.tar.bz2" --progress-bar || \ - (bashio::log.fatal "Your version doesn't exist... Please restore backup or fully uninstall addon" && exit 1) + (bashio::log.fatal "Your version doesn't exist... Please restore backup or fully uninstall addon" && exit 1) fi # Reinstall bashio::log.green "... reinstall ongoing, please wait" if [ -f /data/config/www/nextcloud/index.php ]; then rm /data/config/www/nextcloud/index.php; fi && \ - /./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run + /./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run fi bashio::log.green "... done" diff --git a/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh b/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh index e74e302bf..e261b011b 100755 --- a/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh +++ b/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh @@ -16,6 +16,6 @@ if bashio::config.true 'use_own_certs'; then [[ -f /data/config/keys/cert.crt ]] && rm /data/config/keys/cert.crt cp /ssl/"$CERTFILE" /data/config/keys/cert.crt cp /ssl/"$KEYFILE" /data/config/keys/cert.key - echo "... done" + echo "... done" fi diff --git a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh index 9c258f668..c8260d71d 100755 --- a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh +++ b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh @@ -5,4 +5,4 @@ WEBUI_PORT=${WEBUI_PORT:-8080} exec \ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \ - s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" + s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"