Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-09 10:55:45 +0200
committerErich Eckner <git@eckner.net>2018-05-09 10:55:45 +0200
commit521ae794911f196679b23cdb0c94995799dab6db (patch)
tree74b0c05d137f0fb4e2814d91a02b267e4631fb85 /lib/common-functions
parent4fa44833b199f061f96a459756f076d484740efd (diff)
lib/common-functions: remove obsolete function
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions25
1 files changed, 0 insertions, 25 deletions
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)