From 813d687cb8c86ddb18d7b65547c170c0ed20bb1e Mon Sep 17 00:00:00 2001 From: Botspot <54716352+Botspot@users.noreply.github.com> Date: Sun, 20 Dec 2020 20:57:24 -0600 Subject: [PATCH] add sudo apt update --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index ceaea67..c170931 100755 --- a/install +++ b/install @@ -14,6 +14,7 @@ if [ -z "$(dpkg-query -W --showformat='${Status}\n' yad 2>/dev/null | grep "inst error "User declined." fi if [ -f /usr/bin/apt ];then + sudo apt update sudo apt install -y yad elif [ -f /usr/bin/pacman ];then sudo pacman -S yad