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

Joel Grunbaum
2020-11-29 2bcbc6ecf97c003e53bfae3d4abab0e8c15d12b8
fixed comments for change
1 files modified
9 ■■■■■ changed files
main.sh 9 ●●●●● patch | view | raw | blame | history
main.sh
@@ -51,9 +51,6 @@
        return 2
    fi
    #remove old versions before build
#    rm -f *$1*.tar.*
    #make and force rebuild if is git package
    # Mictosoft fonts have problems with checksums and need a seperate argument
    if [[ "$1" == "ttf-ms-win10" ||
@@ -70,12 +67,14 @@
        return 1
    fi
    #Get build artifact names from PKGBUILD and build artifacts
    #Remove duplicates from the list
    #Remove old packages from build directory
    source PKGBUILD
    srcdir="$(pwd)/src"
    ver=$(pkgver)
    find . -mindepth 1 -maxdepth 1 -type f \( -name "*.pkg.tar.*" -o -name "*.src.tar.*" \) -not -name "*$ver-$pkgrel*" -delete
    #Get build artifact names from PKGBUILD and build artifacts
    #Remove duplicates from the list
    ipkgs=()
    for i in ${pkgname[@]}; do
        #pkgs+=("$i-$pkgver-$pkgrel")