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:
parent
88bbd43e81
commit
4b22fa698c
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue