From fd749e75f055761ece6c123bdf911e45fe9230b1 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Sun, 11 Feb 2024 17:27:00 +0100 Subject: [PATCH] Fixed upgrade. --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index af626a2..fdb80da 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -166,7 +166,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" #================================================= ynh_script_progression --message="Updating a configuration file..." -nh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" +ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" chmod 755 "$install_dir/frontend/js/config.js" chown $app:www-data "$install_dir/frontend/js/config.js"