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"