diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/buildsystem/templates/maintdb/maintdb.bin | 4 |
1 files changed, 2 insertions, 2 deletions
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 |