summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-09 09:36:19 +0200
committerErich Eckner <git@eckner.net>2018-05-09 09:36:19 +0200
commitc35534f22082b9d5bf23797bd3fbb36f8b738254 (patch)
treecb6dd1d010446392110242c3452e05cc2e9453f2
parentc125aa71b845a360bc66a3ba5b1afe92491bbd41 (diff)
downloadbuilder-c35534f22082b9d5bf23797bd3fbb36f8b738254.tar.xz
lib/common-functions: remove obsolete function "official_or_community()"
-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)