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

cleaning syntax unused and try upgrade version

This commit is contained in:
Robles Rodolphe 2020-06-15 12:06:02 +02:00
parent 3b70f3e26d
commit 0e593df4e6
4 changed files with 4 additions and 10 deletions

View file

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

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# dependencies used by the app # dependencies used by the app
pkg_dependencies="php7.0-sqlite3" pkg_dependencies="php-sqlite3"
# ============= FUTURE YUNOHOST HELPER ============= # ============= FUTURE YUNOHOST HELPER =============

View file

@ -54,12 +54,8 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
#================================================= #=================================================
ynh_script_progression --message="Installing dependencies..." --time --weight=1 ynh_script_progression --message="Installing dependencies..." --time --weight=1
if [ "$(lsb_release --codename --short)" != "jessie" ] ynh_install_app_dependencies $pkg_dependencies
then
ynh_install_app_dependencies $pkg_dependencies
else
ynh_die --message="Votre version de Debian n'est pas compatible..." --time --weight=1
fi
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER

View file

@ -50,8 +50,6 @@ fi
# is_public=$(ynh_app_setting_get --app=$app --key=is_public) # is_public=$(ynh_app_setting_get --app=$app --key=is_public)
if [ -n "$is_public" ]; then if [ -n "$is_public" ]; then
# Remove unprotected_uris
ynh_app_setting_delete --app=$app --key=unprotected_uris
# Remove protected_uris # Remove protected_uris
ynh_app_setting_delete --app=$app --key=protected_uris ynh_app_setting_delete --app=$app --key=protected_uris