mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-14 19:41:31 +02:00
Delete 94-memcache.sh
This commit is contained in:
@@ -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
|
|
||||||
Reference in New Issue
Block a user