mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
Lint
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
if bashio::services.available 'mysql'; then
|
if bashio::services.available 'mysql'; then
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
# Install specific packages
|
# Install specific packages
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
# Only execute if installed
|
# Only execute if installed
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
# Only execute if installed
|
# Only execute if installed
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
|
# shellcheck disable=SC2128
|
||||||
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/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
# Only execute if installed
|
# Only execute if installed
|
||||||
|
|||||||
Reference in New Issue
Block a user