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

Merge pull request #18 from YunoHost-Apps/testing

Testing
This commit is contained in:
ewilly 2021-01-05 17:53:31 +01:00 committed by GitHub
commit 6d8e79ad16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# Home Assistant for YunoHost
[![Integration level](https://dash.yunohost.org/integration/homeassistant.svg)](https://dash.yunohost.org/appci/app/homeassistant) ![](https://ci-apps.yunohost.org/ci/badges/homeassistant.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/homeassistant.maintain.svg)
[![Install Home Assistant with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=homeassistant)
[![Install Home Assistant with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=homeassistant)
*[Lire ce readme en français.](./README_fr.md)*

View file

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

View file

@ -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"

View file

@ -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..."

View file

@ -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

View file

@ -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/"