File diff 9ca8e851e7e3 → 4dcc4a099227
yaah
Show inline comments
...
 
@@ -390,8 +390,13 @@ download () {
 
            curl -o "$downloaddir/$filename" "${AURURL}cgit/aur.git/snapshot/$filename"
 
        else
 
            local gitrepo="${1}.git"
 
            msg "Cloning '$1' into '$downloaddir'"
 
            git clone --quiet "${AURURL}/$gitrepo"
 
            if [[ -d "$downloaddir/$1" ]]; then
 
                msg "Pulling '$1'"
 
                git pull "$downloaddir/$1"
 
            else
 
                msg "Cloning '$1' into '$downloaddir'"
 
                git clone --quiet "${AURURL}/$gitrepo" "$downloaddir/$1"
 
            fi
 
        fi
 

	
 
        if [[ $? -eq 0 ]]; then