From 697a45741e57ca83ee0da47400047bd7d67bd4c2 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 22 Mar 2018 23:48:58 +0100 Subject: [PATCH] fix --- arch-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch-install b/arch-install index 6c40e17..4c1bd8a 100755 --- a/arch-install +++ b/arch-install @@ -911,10 +911,12 @@ then if [ "${update}" != "n" ] then if [ -f /usr/bin/git ]; then - gitclone + echo "Git is installed" else echo "Git is not installed" + pacman -Sy git --needed --noconfirm fi + gitclone /opt/${repo}/arch-install n ${version} exit 0 fi