From 971f06287a1928f1affbf471a2ef9055e7db2f5e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 5 Jan 2021 15:18:56 +0100 Subject: [PATCH] Fix linter warnings --- check_process | 2 -- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/check_process b/check_process index ea290fb..8c8a43a 100644 --- a/check_process +++ b/check_process @@ -19,7 +19,5 @@ change_url=1 actions=1 config_panel=0 -;;; Levels - Level 5=auto ;;; Options Notification=all diff --git a/scripts/_common.sh b/scripts/_common.sh index bc82c8a..ff934a5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -101,7 +101,7 @@ myynh_install_dependencies () { # Store current direcotry local MY_DIR=$(pwd) # Download - wget -O "/tmp/Python-$python.tar.xz" "https://www.python.org/ftp/python/$python/Python-$python.tar.xz" + wget -O "/tmp/Python-$python.tar.xz" "https://www.python.org/ftp/python/$python/Python-$python.tar.xz" 2>&1 # Extract cd /tmp tar xf "Python-$python.tar.xz" diff --git a/scripts/install b/scripts/install index 36c6da7..570ec5f 100644 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC final_path="/opt/yunohost/$app" home_path="/home/$app" data_path="/home/$app/.$app" -path_url=$(ynh_normalize_url_path --path_url="/") +path_url="/" # check domain/path availability ynh_script_progression --message="Validating installation parameters..." diff --git a/scripts/restore b/scripts/restore index 57a6651..8c2035c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -23,7 +23,7 @@ python=$(ynh_app_setting_get --app="$app" --key=python) final_path="/opt/yunohost/$app" home_path="/home/$app" data_path="/home/$app/.$app" -path_url=$(ynh_normalize_url_path --path_url="/") +path_url="/" ynh_script_progression --message="Validating recovery parameters..." # check domain/path availability diff --git a/scripts/upgrade b/scripts/upgrade index 43ccf56..fa0c323 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,7 +53,7 @@ ynh_script_progression --message="Installing Home Assistant in a virtual environ myynh_install_homeassistant # update script in bin -ynh_script_progression --message="Updating yunohost script used by homeassitant..." +ynh_script_progression --message="Updating YunoHost script used by homeassitant..." cp -r "../conf/homeassistant_conf_files/bin/." "$data_path/bin/" chown -R $app: "$data_path/bin" chmod -R +x "$data_path/bin/"