chmod +x scripts

This commit is contained in:
Alexandre
2022-06-15 20:44:11 +02:00
parent 0047e2489f
commit 3351e5b29c
218 changed files with 0 additions and 9448 deletions

View File

@@ -1,15 +0,0 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Change data directory
datadirectory=$(bashio::config 'data_directory')
bashio::log.info "Setting data diretory: ${datadirectory}"
sed -i "s|%%datadirectory%%|$datadirectory|g" /defaults/config.php
# copy config
[[ ! -f /data/config/www/nextcloud/config/config.php ]] &&
cp /defaults/config.php /data/config/www/nextcloud/config/config.php
# permissions
chown abc:abc \
/data/config/www/nextcloud/config/config.php