From 0a04adba42d0c24686b7029951f7499624eb1a60 Mon Sep 17 00:00:00 2001
From: Geoff Murphy <murphy@fake.onl>
Date: Sun, 22 Oct 2023 15:29:48 +1100
Subject: [PATCH] Added repository update to setup.sh installer

---
 setup.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/setup.sh b/setup.sh
index 8b5d153..137393e 100755
--- a/setup.sh
+++ b/setup.sh
@@ -79,13 +79,16 @@ echo "$(git rev-parse HEAD | head -c 10)" > /var/cache/fake-os/fake_version.txt
 #--------[ Install Dependencies ]--------#
 echo "Install FAKE//OS Dependencies"
 if [ "$(command -v paru)" ]; then
-    paru --noconfirm -S curl figlet git lolcat rsync perl sudo vim
+    paru -Syyy
+    paru --noconfirm -S curl figlet git lolcat rsync perl sudo unzip vim
 elif [ "$(command -v pacman)" ]; then
-    pacman --noconfirm -S curl figlet git lolcat rsync perl sudo vim
+    pacman -Syyy
+    pacman --noconfirm -S curl figlet git lolcat rsync perl sudo unzip vim
 elif [ "$(command -v apt)" ]; then
-    apt -y install curl figlet git lolcat rsync perl sudo vim
+    apt update
+    apt -y install curl figlet git lolcat rsync perl sudo unzip vim
 elif [ "$(command -v apk)" ]; then
-    apk add curl figlet git rsync perl sudo vim
+    apk add curl figlet git rsync perl sudo unzip vim
 fi