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"