1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

Merge pull request #68 from YunoHost-Apps/testing

add missing dep to php82-ldap and fix upgrade
This commit is contained in:
Florian 2023-09-11 20:40:52 +03:00 committed by GitHub
commit 3d903d3e2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View file

@ -26,7 +26,7 @@ However, with a YesWiki we can build a website with multiple uses:
- Cultivate a bit of freedom...
**Shipped version:** 4.4.1~ynh1
**Shipped version:** 4.4.2~ynh1
**Demo:** https://ferme.yeswiki.net/?CreerSonWiki

View file

@ -26,7 +26,7 @@ Néanmoins, avec un YesWiki on peut fabriquer un site internet aux usages multip
- Cultiver un bout de liberté...
**Version incluse :** 4.4.1~ynh1
**Version incluse :** 4.4.2~ynh1
**Démo :** https://ferme.yeswiki.net/?CreerSonWiki

View file

@ -5,7 +5,7 @@ name = "YesWiki"
description.en = "Wiki that is quick and easy to use"
description.fr = "Wiki facile et rapide à prendre en main"
version = "4.4.1~ynh1"
version = "4.4.2~ynh1"
maintainers = ["Florian Schmitt", "Nils Van Zuijlen", "Plumf"]
@ -72,7 +72,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "mariadb-server, php8.2-zip, php8.2-curl, php8.2-gd, php8.2-dom, php8.2-mysql"
packages = "mariadb-server, php8.2-zip, php8.2-curl, php8.2-gd, php8.2-dom, php8.2-mysql, php8.2-ldap"
[resources.database]
type = "mysql"

View file

@ -24,7 +24,8 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
# TODO : find a way to sync stable extensions list to avoid hardcoded extensions folders to keep
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env wakka.config.php files custom private themes tools/accountactivationbyemail tools/advancedsearch tools/benevolat tools/ferme tools/fontautoinstall tools/ipblock tools/lms tools/login-sso tools/logincas tools/loginldap tools/maintenance tools/multideletepages tools/nextcloudconnector tools/publication tools/qrcode tools/stats tools/tabdyn tools/twolevels tools/webhooks"
ynh_replace_string --match_string="yeswiki_release' \?=> \?'.*',$" --replace_string="yeswiki_release' => '$(ynh_app_upstream_version)'," --target_file="$install_dir/wakka.config.php"
fi