Re: Bug#695761: unblock: debian-edu/1.702 and debian-edu-config/1.702
Hi Julien,
(leaving some context for debian-edu@...)
On Donnerstag, 27. Dezember 2012, Julien Cristau wrote:
> One question here:
> > --- debian-edu-config-1.701/share/debian-edu-config/tools/gosa-create
> > 2012-06-10 12:29:24.000000000 +0000 +++
> > debian-edu-config-1.702/share/debian-edu-config/tools/gosa-create
> > 2012-12-02 08:29:26.000000000 +0000 @@ -32,6 +32,10 @@
> >
> > echo "$HOMEDIR" | grep -q "^$PREFIX/$HOSTNAME" || continue
> > test -e "$HOMEDIR" && continue
> >
> > cp -r /etc/skel $HOMEDIR
> >
> > + if type nscd > /dev/null 2>&1 ; then
> > + nscd -i passwd
> > + nscd -i group
> > + fi
> Is there any guarantee /bin/sh has a 'type' built-in utility? I guess
> it will in most cases, and if it doesn't you just don't run nscd so it
> should be fine…
Seems better to use "if [ -x /usr/sbin/nscd ] ; then..." instead. Would you
prefer an upload with that change?
cheers,
Holger
Reply to: