1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Merge pull request #29 from YunoHost-Apps/rodinux-patch-2

fix a mistake
This commit is contained in:
Robles Rodolphe 2023-09-12 23:50:34 +02:00 committed by GitHub
commit bd3f45b417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 7 deletions

View file

@ -21,7 +21,7 @@ Paheko (we chose the name Paheko, a word from the Māori language meaning "to co
It is the tool of choice for managing an association, a sports club, an NGO, etc. It is designed to meet the needs of a small to medium-sized structure: management of members, accounting, website, note-taking in meetings, archiving and sharing of the association's operating documents, discussion between members, etc. etc..
**Shipped version:** 1.2.11~ynh2
**Shipped version:** 1.2.11~ynh3
**Demo:** https://paheko.cloud/essai/

View file

@ -30,7 +30,7 @@ Paheko (Nous avons choisi le nom Paheko, un mot de la langue Māori qui signifie
![Logo Paheko](https://master.garradin.eu/garradin-devient-paheko/logo_v3_small-fs8.png)
**Version incluse :** 1.2.11~ynh2
**Version incluse :** 1.2.11~ynh3
**Démo :** https://paheko.cloud/essai/

View file

@ -5,7 +5,7 @@ name = "Paheko"
description.en = "Software to manage association"
description.fr = "Logiciel libre de gestion d'association"
version = "1.2.11~ynh2"
version = "1.2.11~ynh3"
maintainers = ["rodinux"]

View file

@ -38,7 +38,7 @@ 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" --keep="association.sqlite squelettes/ data/ skel-dist/ config.local.user.php"
ynh_setup_source --dest_dir="$install_dir" --keep="association.sqlite squelettes data skel-dist config.local.user.php" --full_replace=1
fi
chmod -R o-rwx "$install_dir"
@ -71,9 +71,7 @@ if ynh_compare_current_package_version --comparison lt --version 1.1.15~ynh1; th
chmod 750 "$install_dir/config.local.user.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/config.local.user.php"
fi
if ynh_compare_current_package_version --comparison ge --version 1.3.0~ynh1; then
ynh_replace_string --match_string="namespace Garradin;" --replace_string="namespace Paheko;" --target_file="$install_dir/config.local.user.php"
fi
# NOTE: Don't overwrite config.local.user.php
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"