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

Chizi123
2020-10-19 ef4b3350263e0a903d7712e35732ef2013311f31
name only pkg and src tarballs
1 files modified
2 ■■■ changed files
main.sh 2 ●●● patch | view | raw | blame | history
main.sh
@@ -71,7 +71,7 @@
    pkgs=()
    for i in ${pkgname[@]}; do
        #pkgs+=("$i-$pkgver-$pkgrel")
        pkgs+=("$(find . -mindepth 1 -maxdepth 1 -type f -name "$1*.tar.*" -not -name "*.sig" | sed 's/^\.\///')")
        pkgs+=("$(find . -mindepth 1 -maxdepth 1 -type f \( -name "$1*.pkg.tar.*" -o -name "$1*.src.tar.*" \) -not -name "*.sig" | sed 's/^\.\///')")
    done
    #Move package to repodir and add to repo db