From 08dde22786ffd1018377363ae42b665c4857160d Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 15 Sep 2014 19:54:04 +0100 Subject: buildsystem: maintdb allow *-team maintainers. *-team maintainers behave just like 'nobody' but can be used to indicate packages that actually are maintained, but are handled by a team rather than an individual. This doesn't integrate *-team anywhere else in the stack it just allows the maintainers to be set. Anything that assumes a maintainer in the maintdb is a user (modulo 'nobody') would need to be updated to handle this change. --- modules/buildsystem/templates/maintdb/maintdb.bin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/buildsystem/templates') diff --git a/modules/buildsystem/templates/maintdb/maintdb.bin b/modules/buildsystem/templates/maintdb/maintdb.bin index 6c40046c..903ee009 100755 --- a/modules/buildsystem/templates/maintdb/maintdb.bin +++ b/modules/buildsystem/templates/maintdb/maintdb.bin @@ -37,7 +37,7 @@ function maintset() exit 1 fi curmaint=$(cat "$maintfile") - if [ "$newmaint" = "nobody" ]; then + if [ "$newmaint" = "nobody" ] || [[ "$newmaint" = *-team ]]; then if [ "$curmaint" = "$user" ]; then echo "$newmaint" > "$maintfile" exit 0 @@ -46,7 +46,7 @@ function maintset() exit 1 fi elif [ "$newmaint" = "$user" ]; then - if [ "$curmaint" = "nobody" ]; then + if [ "$curmaint" = "nobody" ] || [[ "$curmaint" = *-team ]]; then echo "$newmaint" > "$maintfile" exit 0 else -- cgit v1.2.1