From 5ad1a4665732e7f86a9e020f30125ff78e7e7a1c Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Thu, 25 Apr 2024 01:34:31 +0200 Subject: [PATCH] [enh] Remove unused variables --- scripts/install | 3 --- scripts/restore | 2 -- scripts/upgrade | 2 -- 3 files changed, 7 deletions(-) diff --git a/scripts/install b/scripts/install index ec5e26f..45b724c 100644 --- a/scripts/install +++ b/scripts/install @@ -13,9 +13,6 @@ source /usr/share/yunohost/helpers # RETRIEVE ARGUMENTS FROM THE MANIFEST #================================================= -email=$(ynh_user_get_info --username=$admin --key=mail) -timezone="$(cat /etc/timezone)" - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/restore b/scripts/restore index 2eb52d3..a1cb20c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -10,8 +10,6 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -timezone="$(cat /etc/timezone)" -email=$(ynh_user_get_info --username=$admin --key=mail) #================================================= # RESTORE THE APP MAIN DIR diff --git a/scripts/upgrade b/scripts/upgrade index d10108c..7f445c3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,8 +13,6 @@ source /usr/share/yunohost/helpers # LOAD SETTINGS #================================================= -email=$(ynh_user_get_info --username=$admin --key=mail) -timezone="$(cat /etc/timezone)" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE