This commit is contained in:
Alexandre
2023-09-09 12:50:16 +02:00
parent 988adc8dc6
commit eb77a98b1f
6 changed files with 6 additions and 7 deletions

View File

@@ -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 #
###########################

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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