index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-09 10:55:45 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-09 10:55:45 +0200 |
commit | 521ae794911f196679b23cdb0c94995799dab6db (patch) | |
tree | 74b0c05d137f0fb4e2814d91a02b267e4631fb85 /lib | |
parent | 4fa44833b199f061f96a459756f076d484740efd (diff) |
-rwxr-xr-x | lib/common-functions | 25 |
diff --git a/lib/common-functions b/lib/common-functions index b6c95d8..65189dc 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -98,31 +98,6 @@ find_git_repository_to_package_repository() { } -# repository_of_package $package.$repo_revision.$mod_repo_revision.$repository -# print which (stable) repository a package belongs to - -repository_of_package() { - local package="$1" - local repository="${package##*.}" - package="${package%.*}" - local a32_rev="${package##*.}" - package="${package%.*.*}" - - case "${repository}" in - 'multilib') - if git -C "${repo_paths__archlinux32}" archive --format=tar "${a32_rev}" -- 'extra-from-multilib' | \ - tar -Ox | \ - grep -qFx "${package%.*.*.*}"; then - echo 'extra' - else - echo 'community' - fi - ;; - *) - echo "${repository}" - esac -} - # ls_master_mirror $path # list content of $path on the master mirror (via rsync) |