mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Lint
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
######################################
|
||||
# Make links between logs and docker #
|
||||
@@ -76,7 +76,6 @@ fi
|
||||
|
||||
echo " "
|
||||
|
||||
|
||||
###########################
|
||||
# DISABLE MAINTENACE MODE #
|
||||
###########################
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
if bashio::services.available 'mysql'; then
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
# Install specific packages
|
||||
if [ ! -d /data/config/www/nextcloud/apps/pdfannotate ]; then
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# shellcheck disable=SC2086
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
# Only execute if installed
|
||||
if [ -f /notinstalled ]; then exit 0; fi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
# Only execute if installed
|
||||
if [ -f /notinstalled ]; then exit 0; fi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Runs only after initialization done
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
|
||||
|
||||
# Only execute if installed
|
||||
if [ -f /notinstalled ]; then exit 0; fi
|
||||
|
||||
Reference in New Issue
Block a user