[EMAIL PROTECTED] wrote:
> 
> On Thu, 5 Apr 2001, Scott C. Best wrote:
> 
> >
> >       Actually I like .lrp as well, though my complaint
> > with it is different. I find it difficult to extract files
> > from a .lrp without potentially overwriting important system
> > binaries on the development box.
> 
> I don't grok this.  I have never had difficulty extracting or creating lrp
> files in the subdirectory of my choice.  System files are in no danger.

Most people aren't aware you can do this, nor how.  apkg comes with an
option to do that automatically, at least as far as extracting to the
current directory goes.  It doesn't add much for the expert, but makes
it simple for a general user.

> >       What'd be *much* nicer is if package.lrp expanded
> > to /tmp/package, and then /tmp/package/package.list would be
> > queried to find out where to put everything.
> 
> I don't agree.  What a lot of extra work.

Not for a program.  I find this to be (somewhat) intriguing.  Could be
scripted thus:

cd work
gunzip -c $PKG | tar xvf -

CONFLICT=0
for FILE in $(find .); do
    if [ -e /$FILE ]; then
        echo "package contents conflict: $FILE" 1>&2
        CONFLICT=1
    fi
done
return $CONFLICT

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to