mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -138,9 +138,6 @@ if bashio::config.true "enable_thumbnails"; then
|
|||||||
echo "... Enabling thumbnails"
|
echo "... Enabling thumbnails"
|
||||||
for files in /defaults/config.php /data/config/www/nextcloud/config/config.php; do
|
for files in /defaults/config.php /data/config/www/nextcloud/config/config.php; do
|
||||||
if [ -f "$files" ]; then
|
if [ -f "$files" ]; then
|
||||||
|
|
||||||
# Create backup file
|
|
||||||
cp "$files" /share/backup_nextcloud_"$RANDOM".php
|
|
||||||
|
|
||||||
# Clean variables
|
# Clean variables
|
||||||
sed -i "/preview_ffmpeg_path/d" "$files"
|
sed -i "/preview_ffmpeg_path/d" "$files"
|
||||||
|
|||||||
Reference in New Issue
Block a user