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