mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
This commit is contained in:
@@ -2,10 +2,6 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Fix app can't install
|
|
||||||
sed -i "s|modHeadersAvailable true|modHeadersAvailable false|g" /data/config/nginx/site-confs/*.conf
|
|
||||||
sed -i "s|front_controller_active true|front_controller_active false|g" /data/config/nginx/site-confs/*.conf
|
|
||||||
|
|
||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
# shellcheck disable=SC2128
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user