On Wed, Mar 15, 2006 at 11:35:00PM +0100, BMH1980 <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> As you know there are some install scripts with an incomplete commandline 
> that prints an 
> error on installing the package.
> 
> As example the problem with chkconfig :
> /var/lib/pacman/local/iptables-1.3.3-1/install: line 4: chkconfig: command 
> not found
> 
> I have created a list with (hopefully) all install scripts that have such 
> problems.
> 
> If it's okay for you, I would change the install scripts to use the commands 
> with an 
> absolute path and rebuild the packages.

hmm, the real problem is not the relative patch, but the non-existense
of the chkconfig binary imho. so instead of using
        /usr/sbin/chkconfig --foo
i would say use
        [ "`type -p chkconfig`" ] && chkconfig --foo

the other reason of such messages _was_ that sudo did not include /sbin
and /usr/sbin in $PATH, but this is fixed a long time ago

feel free to correct me if i'm wrong :)

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to