From dab4b90e42ca33cb3de12aaf58903e32de77b045 Mon Sep 17 00:00:00 2001 From: siwinter <45730097+siwinter@users.noreply.github.com> Date: Tue, 9 Mar 2021 17:42:56 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4919ef7..7a7f503 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -145,10 +145,10 @@ ynh_backup_if_checksum_is_different --file="$conf_file" cp ../conf/app.conf "$conf_file" -if [ -n "$(uname -m | grep arm)" ]; # check CPU (raspberry is armxx) - then - cat ../conf/raspberry.conf >> "$conf_file" -fi +#if [ -n "$(uname -m | grep arm)" ]; # check CPU (raspberry is armxx) +# then +# cat ../conf/raspberry.conf >> "$conf_file" +#fi ynh_replace_string --match_string="__PORT__" --replace_string=$port --target_file="$conf_file" ynh_replace_string --match_string="__MEDIADIR__" --replace_string=$media_dir --target_file="$conf_file"