Load username only if not set

This commit is contained in:
Santiago Lo Coco 2021-12-30 17:00:29 -03:00
parent ab514210d2
commit 266ce94e50
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ EOF
installNotImportantPackages() { 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" 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 checkForParu
getThePackages "N" "installNotImportantPackages" 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"