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

Merge branch 'upgrade' of https://github.com/rodinux/garradin_ynh into upgrade

merge after using github refactoring a PR
This commit is contained in:
Robles Rodolphe 2020-06-17 19:45:21 +02:00
commit 5f900d79e6
4 changed files with 8 additions and 4 deletions

View file

@ -1,9 +1,9 @@
location __PATH__ {
# Path to source
alias __FINALPATH__/www/ ;
# Path to source
alias __FINALPATH__/www/ ;
if ($scheme = http) {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}

View file

@ -9,7 +9,9 @@
"en": "Software to manage association",
"fr": "Logiciel libre de gestion d'association"
},
"version": "0.9.6~ynh3",
"url": "http://garradin.eu/a-propos/",
"license": "GPL-3.0-or-later",
"maintainer": {

View file

@ -5,6 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="php-sqlite3"
# ============= FUTURE YUNOHOST HELPER =============
@ -42,4 +43,4 @@ ynh_permission_has_user() {
allowed_users="$(echo "$perm" | grep --invert-match '^#')"
# Grep the list of users an return the result if the user is indeed into the list
echo "$allowed_users" | grep --quiet --word "$user"
}
}

View file

@ -46,6 +46,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#=================================================
ynh_script_progression --message="Storing installation settings..." --time --weight=1
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url