[debian-edu-commits] debian-edu/italc.git (#115) - master (branch) updated: debian/1_2.0.0-3-17-g0f8f962
Mike Gabriel
sunweaver at alioth.debian.org
Mon Aug 12 09:01:07 UTC 2013
The branch, master has been updated
via 0f8f9622c4392757c5012c58638a206eb0758f78 (commit)
from 0e5ed1e30112eaa7a6f83d4d3cfa8d592c4c9781 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0f8f9622c4392757c5012c58638a206eb0758f78
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Aug 12 09:32:03 2013 +0200
offer group removal only for groups with gitNumber >= 100
-----------------------------------------------------------------------
Summary of changes:
debian/italc-client.config | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
The diff of changes is:
diff --git a/debian/italc-client.config b/debian/italc-client.config
index 40b9c27..a3e7a2c 100755
--- a/debian/italc-client.config
+++ b/debian/italc-client.config
@@ -45,7 +45,7 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-teacher
italc_group_teacher=$RET
db_get italc-client/last-group-teacher
- if [ "$RET" != "$italc_group_teacher" ] && [ "$RET" != 'italc-teacher' ]; then
+ if [ "$RET" != "$italc_group_teacher" ] && [ "$RET" != 'italc-teacher' ] && [ `id -g "$RET"` -ge 100 ]; then
db_input critical italc-client/del-last-group-teacher || true
db_go
fi
@@ -56,7 +56,7 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-student
italc_group_student=$RET
db_get italc-client/last-group-student
- if [ "$RET" != "$italc_group_student" ] && [ "$RET" != 'italc-student' ]; then
+ if [ "$RET" != "$italc_group_student" ] && [ "$RET" != 'italc-student' ] && [ `id -g "$RET"` -ge 100 ]; then
db_input critical italc-client/del-last-group-student || true
db_go
fi
@@ -67,7 +67,7 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-supporter
italc_group_supporter=$RET
db_get italc-client/last-group-supporter
- if [ "$RET" != "$italc_group_supporter" ] && [ "$RET" != 'italc-supporter' ]; then
+ if [ "$RET" != "$italc_group_supporter" ] && [ "$RET" != 'italc-supporter' ] && [ `id -g "$RET"` -ge 100 ]; then
db_input critical italc-client/del-last-group-supporter || true
db_go
fi
@@ -78,7 +78,7 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-admin
italc_group_admin=$RET
db_get italc-client/last-group-admin
- if [ "$RET" != "$italc_group_admin" ] && [ "$RET" != 'italc-admin' ]; then
+ if [ "$RET" != "$italc_group_admin" ] && [ "$RET" != 'italc-admin' ] && [ `id -g "$RET"` -ge 100 ]; then
db_input critical italc-client/del-last-group-admin || true
db_go
fi
hooks/post-receive
--
italc.git (Debian package italc)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "italc.git" (Debian package italc).
More information about the debian-edu-commits
mailing list