From 7796e70ad5b1bfec505babdc11ff0ec73245a87b Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 28 Dec 2021 20:23:37 -0300 Subject: [PATCH] Exact match in sed --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8623a8e..ca6abf2 100755 --- a/install.sh +++ b/install.sh @@ -276,7 +276,7 @@ installNotImportantPackages() { calcHeightAndRun "whiptail --msgbox \"Now, we will install a few more packages (in the background). Press OK and wait (it may take some time).\" HEIGHT 60 3>&1 1>&2 2>&3" checkForParu getThePackages "N" "installNotImportantPackages" - runInChroot "sed -i 's/%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers" + runInChroot "sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers" } finishInstallation() {