mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01: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"
|
||||
for files in /defaults/config.php /data/config/www/nextcloud/config/config.php; do
|
||||
if [ -f "$files" ]; then
|
||||
|
||||
# Create backup file
|
||||
cp "$files" /share/backup_nextcloud_"$RANDOM".php
|
||||
|
||||
# Clean variables
|
||||
sed -i "/preview_ffmpeg_path/d" "$files"
|
||||
|
||||
Reference in New Issue
Block a user