From a44fada89882c881a69d6aa40b53a1248826e5d3 Mon Sep 17 00:00:00 2001
From: Santiago Lo Coco <santilococo.01@gmail.com>
Date: Tue, 19 Apr 2022 14:39:13 -0300
Subject: [PATCH] Fix getThePackages() bug

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 3992652..405d661 100755
--- a/install.sh
+++ b/install.sh
@@ -261,7 +261,7 @@ getThePackages() {
         printWaitBox
         curl -LO "https://raw.githubusercontent.com/santilococo/calsais/master/packages.csv" 2>&1 | debug
     fi
-    if [ "$IMPORTANT" = "N" ]; then
+    if [ "${1}" = "N" ]; then
         dialog --msgbox "\nA menu will appear where you can deselect the packages you don't want to be installed." 8 59
         local IFS=$'\n'
         setDelimiters "" "ON"