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

Fix sudoers ynh path

This commit is contained in:
ewilly 2018-12-18 22:36:54 +01:00
parent 88bbd43e81
commit 4b22fa698c
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ ynh_system_user_create $app
# grant sudo permissions to the user to manage his own systemd service
myynh_create_dir "/etc/sudoers.d"
cp "../sudoers" "/etc/sudoers.d/$app"
cp "../conf/sudoers" "/etc/sudoers.d/$app"
# create a directory for the installation of Home Assistant
myynh_create_dir "$final_path"

View file

@ -25,7 +25,7 @@ fi
# grant sudo permissions to the user to manage his own systemd service
myynh_create_dir "/etc/sudoers.d"
cp "../sudoers" "/etc/sudoers.d/$app"
cp "../conf/sudoers" "/etc/sudoers.d/$app"
# add required packages
ynh_install_app_dependencies "$PKG_DEPENDENCIES"