mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Correctly for real the path
https://github.com/alexbelgium/hassio-addons/issues/1682
This commit is contained in:
@@ -49,7 +49,7 @@ To run custom commands at boot you can try a code such as :
|
|||||||
# Runs only after initialization done
|
# Runs only after initialization done
|
||||||
# shellcheck disable=SC2128
|
# shellcheck disable=SC2128
|
||||||
mkdir -p /scripts
|
mkdir -p /scripts
|
||||||
if [ ! -f /app/www/public/occ ]; then cp /addon_configs/db21ed7f_nextcloud-ocr/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
if [ ! -f /app/www/public/occ ]; then cp /config/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
echo "Scanning files"
|
echo "Scanning files"
|
||||||
sudo -u abc php /app/www/public/occ files:scan --all
|
sudo -u abc php /app/www/public/occ files:scan --all
|
||||||
|
|||||||
Reference in New Issue
Block a user