From c4a5f325965c89669374388040c372408dc441f1 Mon Sep 17 00:00:00 2001 From: asandikci Date: Wed, 20 Dec 2023 23:05:13 +0300 Subject: [PATCH] package update --- scripts/upgrade | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 11d531a..ee2bbf4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,14 +18,16 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="upgrade type is: $upgrade_type" -if [ "$upgrade_type" == "UPGRADE_APP" ] -then + +# FIXME possibly not the best way, but UPGRADE_APP varible returns UNKNOWN. + +# if [ "$upgrade_type" == "UPGRADE_APP" ] +# then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/" -fi +# fi chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"