1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Fix linter warnings

This commit is contained in:
ericgaspar 2021-01-05 15:18:56 +01:00
parent 47d8f90de0
commit 971f06287a
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 4 additions and 6 deletions

View file

@ -19,7 +19,5 @@
change_url=1 change_url=1
actions=1 actions=1
config_panel=0 config_panel=0
;;; Levels
Level 5=auto
;;; Options ;;; Options
Notification=all Notification=all

View file

@ -101,7 +101,7 @@ myynh_install_dependencies () {
# Store current direcotry # Store current direcotry
local MY_DIR=$(pwd) local MY_DIR=$(pwd)
# Download # 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 # Extract
cd /tmp cd /tmp
tar xf "Python-$python.tar.xz" tar xf "Python-$python.tar.xz"

View file

@ -18,7 +18,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
final_path="/opt/yunohost/$app" final_path="/opt/yunohost/$app"
home_path="/home/$app" home_path="/home/$app"
data_path="/home/$app/.$app" data_path="/home/$app/.$app"
path_url=$(ynh_normalize_url_path --path_url="/") path_url="/"
# check domain/path availability # check domain/path availability
ynh_script_progression --message="Validating installation parameters..." ynh_script_progression --message="Validating installation parameters..."

View file

@ -23,7 +23,7 @@ python=$(ynh_app_setting_get --app="$app" --key=python)
final_path="/opt/yunohost/$app" final_path="/opt/yunohost/$app"
home_path="/home/$app" home_path="/home/$app"
data_path="/home/$app/.$app" data_path="/home/$app/.$app"
path_url=$(ynh_normalize_url_path --path_url="/") path_url="/"
ynh_script_progression --message="Validating recovery parameters..." ynh_script_progression --message="Validating recovery parameters..."
# check domain/path availability # check domain/path availability

View file

@ -53,7 +53,7 @@ ynh_script_progression --message="Installing Home Assistant in a virtual environ
myynh_install_homeassistant myynh_install_homeassistant
# update script in bin # 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/" cp -r "../conf/homeassistant_conf_files/bin/." "$data_path/bin/"
chown -R $app: "$data_path/bin" chown -R $app: "$data_path/bin"
chmod -R +x "$data_path/bin/" chmod -R +x "$data_path/bin/"