From 266ce94e50d8e7b51c478db9703ef7fd0b3b2d17 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Thu, 30 Dec 2021 17:00:29 -0300 Subject: [PATCH] Load username only if not set --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d75aeaf..f24879c 100755 --- a/install.sh +++ b/install.sh @@ -298,7 +298,7 @@ EOF 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" - loadUsername + [ -z $username ] && loadUsername checkForParu getThePackages "N" "installNotImportantPackages" runInChroot "sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers"