Exact match in sed

This commit is contained in:
Santiago Lo Coco 2021-12-28 20:23:37 -03:00
parent 74f1ff68ce
commit 7796e70ad5
1 changed files with 1 additions and 1 deletions

View File

@ -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() {