From 8d37e46323f5d34f6d88aab550d1cf6f5f49d0ec Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 24 Mar 2024 13:08:45 +0100 Subject: [PATCH] Set a valid file name for `sudoers` config --- scripts/Arch/OS/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Arch/OS/install.sh b/scripts/Arch/OS/install.sh index 2dda5009..62fbfa88 100755 --- a/scripts/Arch/OS/install.sh +++ b/scripts/Arch/OS/install.sh @@ -7,7 +7,7 @@ pushd "$rootDir" > /dev/null; function autoRoot() { { echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" - } | sudo tee "/etc/sudoers.d/PortValhalla.conf" > /dev/null; + } | sudo tee "/etc/sudoers.d/PortValhalla" > /dev/null; } runHook initialize \ @@ -32,6 +32,6 @@ runHook initializeProfile \ . "$(pwd)/../../../scripts/Common/Config/UserProfile/install.sh"; runHook postInstall \ - rm "/etc/sudoers.d/PortValhalla.conf"; + rm "/etc/sudoers.d/PortValhalla"; popd > /dev/null;