On Fri, 20 Oct 2006 06:10:56 +0200, Lucas C. Villa Real  
<[EMAIL PROTECTED]> wrote:

> --- Compile   12 Oct 2006 16:59:41 -0000      1.124
> +++ Compile   20 Oct 2006 04:10:56 -0000      1.125
> @@ -157,6 +157,26 @@
>        SymlinkProgram $safeopts $symlinkopts "$1" "$2" || Die "Linking  
> step failed."
>        Run_PostInstall "$1" "$2" "" ""
>     fi
> +
> +   cat $reciperesources/ExpectedGroups 2> /dev/null | while read group
> +   do
> +      if [ "$goboCrossCompiling" ]
> +      then
> +      else
> +         groupadd $group
> +      fi
> +   done
> +
> +   cat $reciperesources/ExpectedUsers 2> /dev/null | while read entry
> +   do
> +      user=`echo $entry | cut -d: -f1`
> +      group=`echo $entry | cut -d: -f1`
> +      if [ "$goboCrossCompiling" ]
> +      then
> +      else
> +         groupadd $group
> +      fi
> +   done
>  }

If this will be implemented, I'd like a variable/array in the recipe  
instead of yet another file in the recipe dir.
And in the last check, it should be useradd instead of groupadd.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to