> Mike Branco wrote:
> 
> Running dachstein RC2 floppy version:
> I'm try to add an uninstall option into lrpkg.


Here's what David does with Oxygen.  It has
the -r option for removing a package that's
been installed.


remove () {
        cd $PKGD
        [ ! -f $1.list ] && err "no package! ($1)"

        grep -v "$1" packages > packages.new
        mv packages.new packages

        cd - ; cd /
        rm -f `cat $PKGD/$1.list`
        cd -
        }


Basically it does what you asked.
Matthew


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

Reply via email to