From 37bb93d4cc7803663019c7be7631d3c1a56ef655 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 21 Aug 2018 19:57:15 +0200 Subject: [PATCH] Use YNH_APP_INSTANCE_NAME instead of YNH_APP_ID --- scripts/actions/add_remove_abiword | 2 +- scripts/actions/add_remove_libreoffice | 2 +- scripts/actions/list_all_pads | 2 +- scripts/config | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/actions/add_remove_abiword b/scripts/actions/add_remove_abiword index 1e4b3cf..8912185 100755 --- a/scripts/actions/add_remove_abiword +++ b/scripts/actions/add_remove_abiword @@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers # RETRIEVE ARGUMENTS #================================================= -app=$YNH_APP_ID +app=$YNH_APP_INSTANCE_NAME #================================================= # CHECK IF ARGUMENTS ARE CORRECT diff --git a/scripts/actions/add_remove_libreoffice b/scripts/actions/add_remove_libreoffice index 6f32eb5..86f493d 100755 --- a/scripts/actions/add_remove_libreoffice +++ b/scripts/actions/add_remove_libreoffice @@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers # RETRIEVE ARGUMENTS #================================================= -app=$YNH_APP_ID +app=$YNH_APP_INSTANCE_NAME #================================================= # CHECK IF ARGUMENTS ARE CORRECT diff --git a/scripts/actions/list_all_pads b/scripts/actions/list_all_pads index 2d8160e..ffdda94 100755 --- a/scripts/actions/list_all_pads +++ b/scripts/actions/list_all_pads @@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers # RETRIEVE ARGUMENTS #================================================= -app=$YNH_APP_ID +app=$YNH_APP_INSTANCE_NAME db_name=$(ynh_app_setting_get $app db_name) db_pwd=$(ynh_app_setting_get $app mysqlpwd) diff --git a/scripts/config b/scripts/config index 46d205a..b20f344 100644 --- a/scripts/config +++ b/scripts/config @@ -15,7 +15,7 @@ source _variables # RETRIEVE ARGUMENTS #================================================= -app=$YNH_APP_ID +app=$YNH_APP_INSTANCE_NAME final_path=$(ynh_app_setting_get $app final_path)