diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-07-12 15:20:59 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-07-12 15:20:59 +0000 |
commit | b07cafae5c560246fd09688e1524b777b1f9eabb (patch) | |
tree | 1cd38dc109b21f0c24ba5014ce26646b1f69832b /add-user | |
parent | ceaec14bef72b558f56212b64111fa9e826e85d3 (diff) | |
download | rpm-helper-b07cafae5c560246fd09688e1524b777b1f9eabb.tar rpm-helper-b07cafae5c560246fd09688e1524b777b1f9eabb.tar.gz rpm-helper-b07cafae5c560246fd09688e1524b777b1f9eabb.tar.bz2 rpm-helper-b07cafae5c560246fd09688e1524b777b1f9eabb.tar.xz rpm-helper-b07cafae5c560246fd09688e1524b777b1f9eabb.zip |
added missing groupadd call
Diffstat (limited to 'add-user')
-rwxr-xr-x | add-user | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,10 +28,12 @@ if [ $# -gt 0 ]; then shift for g in $*; do garg="$garg,$g" - + /usr/sbin/groupadd -r $g > /dev/null 2>&1 done fi -/usr/sbin/useradd -r -M -s $shell -d $dir -c "system user for $pkg" $garg $name > /dev/null 2>&1 || : +/usr/sbin/useradd -r -M -s $shell -d $dir -c "system user for $pkg" $garg $name > /dev/null 2>&1 + +exit 0 # add-user ends here |