[gobolinux-devel] [gobolinux-commits] tools/Compile/bin Compile
Jonas Karlsson
jonka750 at student.liu.se
Fri Oct 20 07:01:12 UTC 2006
On Fri, 20 Oct 2006 06:10:56 +0200, Lucas C. Villa Real
<lucasvr at gobolinux.org> 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/
More information about the gobolinux-devel
mailing list