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:
parent
47d8f90de0
commit
971f06287a
5 changed files with 4 additions and 6 deletions
|
@ -19,7 +19,5 @@
|
|||
change_url=1
|
||||
actions=1
|
||||
config_panel=0
|
||||
;;; Levels
|
||||
Level 5=auto
|
||||
;;; Options
|
||||
Notification=all
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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..."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/"
|
||||
|
|
Loading…
Add table
Reference in a new issue