mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Joel Grunbaum
2021-04-20 5ac3269f001693ab8314fc6c2f234afe3d0c791c
added check for already added when adding
1 files modified
2 ■■■ changed files
main.sh 2 ●●● patch | view | raw | blame | history
main.sh
@@ -204,7 +204,7 @@
    local i j k
    for i in $@; do
        cd $BUILDDIR
        if [[ -z $(git ls-remote https://aur.archlinux.org/$i.git) ]]; then
        if [ ! -d $i ] && [[ -z $(git ls-remote https://aur.archlinux.org/$i.git) ]]; then
            echo "Not a package: $i"
            exit 2
        fi