Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-11-29 13:34:12 +01:00
committed by GitHub
parent 00dd0fb5de
commit e65ebcc1a0

View File

@@ -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"