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:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 5949766..b6c95d8 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -123,24 +123,6 @@ repository_of_package() {
esac
}
-# official_or_community $package.$repo_revision.$mod_repo_revision.$repository $ending
-# print wether the specified package is an official package (print
-# $ending) or a community package (print 'community-$ending') or a
-# build-support package (print 'build-support')
-
-official_or_community() {
- local prepo
- prepo=$(repository_of_package "$1")
-
- if [ "${prepo}" = 'community' ]; then
- echo 'community-'"$2"
- elif [ "${prepo}" = 'build-support' ]; then
- echo 'build-support'
- else
- echo "$2"
- fi
-}
-
# ls_master_mirror $path
# list content of $path on the master mirror (via rsync)