From 4b22fa698ce265b48766fc176cda8aa8168e556d Mon Sep 17 00:00:00 2001 From: ewilly Date: Tue, 18 Dec 2018 22:36:54 +0100 Subject: [PATCH] Fix sudoers ynh path --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 95e0e2c..805b846 100644 --- a/scripts/install +++ b/scripts/install @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 73c5283..69ebe30 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"