diff --git a/scripts/Arch/OS/install.sh b/scripts/Arch/OS/install.sh index fbf53d45..cfe4218b 100755 --- a/scripts/Arch/OS/install.sh +++ b/scripts/Arch/OS/install.sh @@ -1,5 +1,6 @@ #!/bin/bash rootDir="${BASH_SOURCE%/*}"; +customPortValhallaSudoConfigFile="/etc/sudoers.d/1337_PortValhalla" pushd "$rootDir" > /dev/null; . "../../Common/Scripts/hooks.sh"; @@ -7,7 +8,7 @@ pushd "$rootDir" > /dev/null; function autoRoot() { { echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" - } | sudo tee "/etc/sudoers.d/PortValhalla" > /dev/null; + } | sudo tee "$customPortValhallaSudoConfigFile" > /dev/null; } runHook initialize \ @@ -32,6 +33,6 @@ runHook initializeProfile \ . "$(pwd)/../../../scripts/Common/Config/UserProfile/install.sh"; runHook postInstall \ - sudo rm "/etc/sudoers.d/PortValhalla"; + sudo rm "$customPortValhallaSudoConfigFile"; popd > /dev/null;