1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
This commit is contained in:
Éric Gaspar 2024-05-11 21:48:22 +02:00
parent 9b93717939
commit 6c9122a229
2 changed files with 7 additions and 17 deletions

View file

@ -5,7 +5,7 @@ name = "BookStack"
description.en = "Platform to create documentation/wiki content"
description.fr = "Plateforme pour créer du contenu de documentation/wiki"
version = "24.02.3~ynh1"
version = "24.05~ynh1"
maintainers = []
@ -59,8 +59,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.02.3.tar.gz"
sha256 = "55e11562e550722bbbf923fc4b80f185213c033a297a16d2037b793c73464980"
url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.05.tar.gz"
sha256 = "12673a0c69ce5cea5ae0b0be568da7a88c8510b9cd9e96e7cdeb4026a355482f"
rename = "bookstack.tar.gz"
autoupdate.strategy = "latest_github_release"
@ -76,7 +76,7 @@ ram.runtime = "50M"
api.auth_header = false
[resources.apt]
packages = "mariadb-server, php8.2-curl, php8.2-mysql, php8.2-ldap, php8.2-mbstring, php8.2-tidy, php8.2-xml, php8.2-zip, php8.2-gd"
packages = "mariadb-server, php8.3-curl, php8.3-mysql, php8.3-ldap, php8.3-mbstring, php8.3-tidy, php8.3-xml, php8.3-zip, php8.3-gd"
[resources.database]
type = "mysql"

View file

@ -9,12 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
@ -41,14 +35,10 @@ fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
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" --full_replace=1 --keep=".env public/uploads storage/uploads"
fi
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS