diff --git a/src/freedombone-deploy-website b/src/freedombone-deploy-website index 109b917462bd61fb1d2108d5a9b2f12827794cb8..5988f97bd9361eada28bfcef53ea7abd9f1e501e 100755 --- a/src/freedombone-deploy-website +++ b/src/freedombone-deploy-website @@ -301,7 +301,9 @@ cp -r ../webadmin/EN/help_*.html "$dest_dir" if [ ! -d "$dest_dir/downloads" ]; then mkdir "$dest_dir/downloads" fi -cp "$lang/images.txt" "$dest_dir/downloads" +if [ -f "$dest_dir/downloads/images.txt" ]; then + rm "$dest_dir/downloads/images.txt" +fi chown -R www-data:www-data "$dest_dir" if [ ! "$rootdir" ]; then