From 60771e6c1bce849d76c677cabac52e791fb34d3d Mon Sep 17 00:00:00 2001 From: anmol Date: Tue, 20 Nov 2018 07:24:24 +0530 Subject: [PATCH] Updated to version 3.8.5 --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 08dc275b..b6f9c544 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,8 +21,8 @@ final_path=$(ynh_app_setting_get $app final_path) upload=$(ynh_app_setting_get $app upload) db_name=$(ynh_app_setting_get $app db_name) db_pwd=$(ynh_app_setting_get $app mysqlpwd) -version=( grep STD_VERSION $final_path/boot.php | cut -c 38- | rev | cut -c 5- | rev ) -last_update=( grep update_time: /etc/yunohost/apps/$app/settings.yml | cut -c 14- ) +version=$(grep STD_VERSION $final_path/boot.php | cut -c 38- | rev | cut -c 5- | rev) +last_update=$(grep update_time: /etc/yunohost/apps/$app/settings.yml | cut -c 14-) #=================================================