summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-08 20:41:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-08 20:41:09 +0000
commit758443c94045298a28edb3bfe5782135c01aaa2f (patch)
tree1cead9245994663fc2f5abd6cc4799e576ae239d /app-admin/superadduser
parentx86 stable wrt bug 169782 (diff)
downloadgentoo-2-758443c94045298a28edb3bfe5782135c01aaa2f.tar.gz
gentoo-2-758443c94045298a28edb3bfe5782135c01aaa2f.tar.bz2
gentoo-2-758443c94045298a28edb3bfe5782135c01aaa2f.zip
Fixing a couple places where I was a bit overzealous in my changes. Thanks to Marcus D. Hanwell <cryos@gentoo.org> for pointing it out.
(Portage version: 2.1.2.1)
Diffstat (limited to 'app-admin/superadduser')
-rw-r--r--app-admin/superadduser/ChangeLog7
-rw-r--r--app-admin/superadduser/files/1.0.9/superadduser4
2 files changed, 8 insertions, 3 deletions
diff --git a/app-admin/superadduser/ChangeLog b/app-admin/superadduser/ChangeLog
index a7eda505afd6..e946de740a7a 100644
--- a/app-admin/superadduser/ChangeLog
+++ b/app-admin/superadduser/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/superadduser
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/superadduser/ChangeLog,v 1.38 2007/03/07 21:32:37 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/superadduser/ChangeLog,v 1.39 2007/03/08 20:41:09 wolf31o2 Exp $
+
+ 08 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ files/1.0.9/superadduser:
+ Fixing a couple places where I was a bit overzealous in my changes. Thanks
+ to Marcus D. Hanwell <cryos@gentoo.org> for pointing it out.
07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
files/1.0.9/superadduser:
diff --git a/app-admin/superadduser/files/1.0.9/superadduser b/app-admin/superadduser/files/1.0.9/superadduser
index d722d0948fc1..dd5e3158ddad 100644
--- a/app-admin/superadduser/files/1.0.9/superadduser
+++ b/app-admin/superadduser/files/1.0.9/superadduser
@@ -132,7 +132,7 @@ function display () {
goose="$(echo $2 | cut -d ' ' -f 2-)" # lop off the prefixed argument useradd needs
echo -n "$1 "
# If it's null then display the 'other' information
- if [[ -z "$goose" -a ! -z "$3" ]]; then
+ if [ -z "$goose" -a ! -z "$3" ]; then
echo "$3"
else
echo "$goose"
@@ -147,7 +147,7 @@ function check_group () {
local uid_not_named="" uid_not_num=""
grep -v "$^" $gfile | awk -F: '{print $1}' | grep "^${group}$" >/dev/null 2>&1 || uid_not_named=yes
grep -v "$^" $gfile | awk -F: '{print $3}' | grep "^${group}$" >/dev/null 2>&1 || uid_not_num=yes
- if [[ ! -z "$uid_not_named" -a ! -z "$uid_not_num" ]]; then
+ if [ ! -z "$uid_not_named" -a ! -z "$uid_not_num" ]; then
echo "- Group '$group' does not exist"
got_error=yes
fi