David Douthitt wrote:

> # Remove package from packages list:
> 
> PKGD=/var/lib/lrpkg
> 
> mv $PKGD/packages $PKGD/pkg.old
> grep -v $PKGD/pkg.old > $PKGD/packages

This has an error; should be:

# Remove package from packages list

PKGD=/var/lib/lrpkg

mv $PKGD/packages $PKGD/pkg.old
grep -v '^'$PKGNAME'$' $PKGD/pkg.old > $PKGD/packages

...note that this will remove ALL package entries with the same name. 
Since lrpkg will blithely allow you to install the package more than
once, this may be useful :)

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

Reply via email to