Skip to content

Commit

Permalink
Correct script identification #1004
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 24, 2023
1 parent 255fdab commit dd93c16
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .templates/91-universal_graphic_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if bashio::config.has_value "graphic_driver"; then
# Origin : https://github.com/wumingjieno1/photoprism-test/blob/main/scripts/dist/install-gpu.sh
# abort if not executed as root
if [[ $(id -u) != "0" ]]; then
bashio::log.fatal "Error: Run ${0##*/} as root" 1>&2
bashio::log.fatal "Error: Run $(basename "${BASH_SOURCE}") as root" 1>&2
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion nextcloud/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@
"slug": "nextcloud_ocr",
"uart": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
"version": "27.1.1",
"version": "27.1.1-2",
"webui": "https://[HOST]:[PORT:443]"
}
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /scripts/ && exit 0; fi
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi

######################################
# Make links between logs and docker #
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/02-mariadb_discovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /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

Expand Down
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /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
if [ ! -d /data/config/www/nextcloud/apps/pdfannotate ]; then
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/99-elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shellcheck disable=SC2086

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /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
if [ -f /notinstalled ]; then exit 0; fi
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/99-ocr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /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
if [ -f /notinstalled ]; then exit 0; fi
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/99-trusted_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

# Runs only after initialization done
if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"${0##*/}" /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
if [ -f /notinstalled ]; then exit 0; fi
Expand Down

0 comments on commit dd93c16

Please sign in to comment.