diff --git a/check_process b/check_process index 1a5eefe..0d5791b 100644 --- a/check_process +++ b/check_process @@ -12,10 +12,14 @@ setup_private=1 setup_public=1 upgrade=1 - #upgrade=1 from_commit=CommitHash + # 0.5.3ynh1 + upgrade=1 from_commit=2292d0d68f5ba9e48f4cbb6105db64b4da4eba74 backup_restore=1 multi_instance=0 change_url=0 ;;; Options Email=oufmilo@protonmail.com Notification=all +;;; Upgrade options + ; commit=2292d0d68f5ba9e48f4cbb6105db64b4da4eba74 + name=0.5.3~ynh1 \ No newline at end of file diff --git a/conf/app.src b/conf/app.src index 4bc4e4d..153b1ed 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,5 @@ SOURCE_URL=https://github.com/bookwyrm-social/bookwyrm/archive/refs/tags/v0.5.4.tar.gz -SOURCE_SUM=2dafdcf26de6c041611d16ed48b751cf8d4dfbee1f5cf4aa5975592bc080261d +SOURCE_SUM=2DAFDCF26DE6C041611D16ED48B751CF8D4DFBEE1F5CF4AA5975592BC080261D SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= -SOURCE_EXTRACT=true +SOURCE_IN_SUBDIR=true \ No newline at end of file diff --git a/scripts/install b/scripts/install index 475c03c..fea807f 100755 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ ynh_psql_setup_db --db_user=$db_user --db_name=$db_name ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path - +# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index eb5a03b..ba5e74a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,6 +100,7 @@ mkdir "$final_path/venv" python3 -m venv "$final_path/venv" $final_path/venv/bin/pip3 install -r "$final_path/requirements.txt" + #================================================= # SET PERMISSIONS ON BOOKWYRM DIRECTORY #=================================================