add sudo apt update

pull/155/head
Botspot 5 years ago committed by GitHub
parent 3191156fdf
commit 813d687cb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save