mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
version updated to 1.1.12, resolve a condition for permissions in the pre-upgrade
This commit is contained in:
parent
c9a334d56b
commit
1b779795fd
4 changed files with 5 additions and 6 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Garradin (word meaning money in an aboriginal dialect of northern Australia, pronounced "gar-a-dine" em) is software for associative management. 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.1.11~ynh1
|
||||
**Shipped version:** 1.1.12~ynh1
|
||||
|
||||
**Demo:** https://garradin.eu/essai/
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Garradin (mot signifiant argent dans un dialecte aborigène du nord de l'Australie, prononcé « gar-a-dine »em) est un logiciel de gestion associative. Il est l'outil de prédilection pour gérer une association, un club sportif, une ONG, etc. Il est conçu pour répondre aux besoins d'une structure de petite à moyenne taille : gestion des adhérents, comptabilité, site web, prise de notes en réunion, archivage et partage des documents de fonctionnement de l'association, discussion entre adhérents, etc etc.
|
||||
|
||||
**Version incluse :** 1.1.11~ynh1
|
||||
**Version incluse :** 1.1.12~ynh1
|
||||
|
||||
**Démo :** https://garradin.eu/essai/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Software to manage association",
|
||||
"fr": "Logiciel libre de gestion d'association"
|
||||
},
|
||||
"version": "1.1.11~ynh1",
|
||||
"version": "1.1.12~ynh1",
|
||||
"url": "http://garradin.eu",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
|
|
@ -80,7 +80,6 @@ fi
|
|||
#=================================================
|
||||
|
||||
if ynh_compare_current_package_version --comparison lt --version 0.9.8.1~ynh1
|
||||
|
||||
then
|
||||
ynh_script_progression --message="Upgrading upgrade to 0.9.8" --weight=5
|
||||
# Download, check integrity, uncompress and patch the source from 0.9.8.src
|
||||
|
@ -110,7 +109,7 @@ then
|
|||
|
||||
# Create the visitors permission if needed
|
||||
visitors_enabled=$(ynh_permission_has_user "main" "visitors" && echo 0 || echo 1)
|
||||
if [[ $visitors_enabled -eq 0 ]]; then
|
||||
if [[ $visitors_enabled -eq 1 ]]; then
|
||||
ynh_permission_update --permission "main" --add "visitors"
|
||||
fi
|
||||
|
||||
|
@ -159,7 +158,7 @@ then
|
|||
|
||||
# Create the visitors permission if needed
|
||||
visitors_enabled=$(ynh_permission_has_user "main" "visitors" && echo 0 || echo 1)
|
||||
if [[ $visitors_enabled -eq 0 ]]; then
|
||||
if [[ $visitors_enabled -eq 1 ]]; then
|
||||
ynh_permission_update --permission "main" --add "visitors"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue