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

Upgrade to v20240330

This commit is contained in:
老周部落 2024-03-31 11:32:43 +08:00 committed by Félix Piédallu
parent 516e19ac6c
commit ca8eb374fb
3 changed files with 14 additions and 4 deletions

View file

@ -5,7 +5,7 @@ name = "Firefish"
description.en = "Fork of Misskey with better UI/UX, security, features"
description.fr = "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités"
version = "1.0.5rc~ynh1"
version = "20240330~ynh1"
maintainers = ["oufmilo"]
@ -39,9 +39,9 @@ ram.runtime = "2G"
[resources]
[resources.sources.main]
url = "https://firefish.dev/firefish/firefish/-/archive/v1.0.5-rc/firefish-v1.0.5-rc.tar.gz"
sha256 = "b9b59899eaddcdd94e10974e34af083bd9a9c6228046dc4d4af0f3a669ccb7ef"
autoupdate.strategy = "latest_gitlab_release"
url = "https://firefish.dev/firefish/firefish/-/archive/v20240330/firefish-v20240330.tar.gz"
sha256 = "ddd60ffd9d8157a7f65d502910e4c0d6f25095ce9f816b1acc5233c3feedec4d"
autoupdate.strategy = "latest_gitlab_tag"
[resources.system_user]

View file

@ -14,6 +14,13 @@ ynh_script_progression --message="Installing dependencies... This might take som
ynh_install_nodejs --nodejs_version="$NODEJS_VERSION"
#=================================================
# CREATE A POSTGRESQL DATABASE
#=================================================
ynh_script_progression --message="Initializing postgresql modules..."
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pgroonga;" --database=$db_name
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================

View file

@ -32,6 +32,9 @@ if [ -z "$install_dir" ]; then
ynh_app_setting_set --app="$app" --key=install_dir --value="$install_dir"
fi
# Add PostgreSQL extension for v20240319
ynh_exec_warn_less ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pgroonga;" --database=$db_name
#=================================================
# UPGRADE DEPENDENCIES
#=================================================