1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Merge pull request #19 from oufmilo/master

Upgrade v0.5.4
This commit is contained in:
oufmilo 2023-02-04 00:04:08 +01:00 committed by GitHub
commit 3480f35c3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View file

@ -12,10 +12,14 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
#upgrade=1 from_commit=CommitHash # 0.5.3ynh1
upgrade=1 from_commit=2292d0d68f5ba9e48f4cbb6105db64b4da4eba74
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
change_url=0 change_url=0
;;; Options ;;; Options
Email=oufmilo@protonmail.com Email=oufmilo@protonmail.com
Notification=all Notification=all
;;; Upgrade options
; commit=2292d0d68f5ba9e48f4cbb6105db64b4da4eba74
name=0.5.3~ynh1

View file

@ -1,7 +1,5 @@
SOURCE_URL=https://github.com/bookwyrm-social/bookwyrm/archive/refs/tags/v0.5.4.tar.gz 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_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -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_script_progression --message="Setting up source files..." --weight=1
ynh_app_setting_set --app=$app --key=final_path --value=$final_path 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" ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path" chmod 750 "$final_path"

View file

@ -100,6 +100,7 @@ mkdir "$final_path/venv"
python3 -m venv "$final_path/venv" python3 -m venv "$final_path/venv"
$final_path/venv/bin/pip3 install -r "$final_path/requirements.txt" $final_path/venv/bin/pip3 install -r "$final_path/requirements.txt"
#================================================= #=================================================
# SET PERMISSIONS ON BOOKWYRM DIRECTORY # SET PERMISSIONS ON BOOKWYRM DIRECTORY
#================================================= #=================================================