[debian-edu-commits] debian-edu/ 04/04: DebConf: Make empty group names will be set with our default group ('root').
Mike Gabriel
sunweaver at debian.org
Mon Apr 28 09:30:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository italc.
commit 8112c19bebeb7592c220e5c5f26cb4953b8ebc50
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Apr 28 11:29:07 2014 +0200
DebConf: Make empty group names will be set with our default group ('root').
---
debian/changelog | 7 +++++++
debian/italc-client.config | 12 ++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f27155e..a436fe8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+italc (1:2.0.1-5) UNRELEASED; urgency=low
+
+ * DebConf:
+ + Make empty group names will be set with our default group ('root').
+
+ -- Mike Gabriel <sunweaver at debian.org> Mon, 28 Apr 2014 11:28:17 +0200
+
italc (1:2.0.1-4) unstable; urgency=low
* Debconf translation files updated/added:
diff --git a/debian/italc-client.config b/debian/italc-client.config
index a3e7a2c..3ebc365 100755
--- a/debian/italc-client.config
+++ b/debian/italc-client.config
@@ -45,6 +45,9 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-teacher
italc_group_teacher=$RET
db_get italc-client/last-group-teacher
+ if [ -z "$RET" ]; then
+ RET="root"
+ fi
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
@@ -56,6 +59,9 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-student
italc_group_student=$RET
db_get italc-client/last-group-student
+ if [ -z "$RET" ]; then
+ RET="root"
+ fi
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
@@ -67,6 +73,9 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-supporter
italc_group_supporter=$RET
db_get italc-client/last-group-supporter
+ if [ -z "$RET" ]; then
+ RET="root"
+ fi
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
@@ -78,6 +87,9 @@ if [ "$create_keypairs" = "true" ]; then
db_get italc-client/group-italc-admin
italc_group_admin=$RET
db_get italc-client/last-group-admin
+ if [ -z "$RET" ]; then
+ RET="root"
+ fi
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/italc.git
More information about the debian-edu-commits
mailing list