void-packages/bin/xbps-bin
Juan RP 0d04547576 Add the concept of purging a package, such as with dpkg.
By default a package when is removed, its configuration files
and metadata files won't be removed unless the package is purged.

While here add two targets for xbps-bin:

 * purge [<pkgname>|<all>], passing the "all" string (case insensitive)
   will purge all packages that are in this state (XBPS_PKG_STATE_CONFIG_FILES).

 * reconfigure [<pkgname>|<all>], reconfigures a package or "all"
   if package hasn't been configured. Passing -f reconfigures it again
   even if it's state is ok.

--HG--
extra : convert_revision : bd2d3913ca087a0565b05fa9ee3f9b6d5e3cb934
2009-08-13 16:46:20 +02:00
..
check.c Remove unused headers. 2009-08-12 07:48:03 +02:00
defs.h Mega-commit with improvements and changes done in the past days. 2009-08-08 22:29:48 +02:00
install.c Add the concept of purging a package, such as with dpkg. 2009-08-13 16:46:20 +02:00
main.c Add the concept of purging a package, such as with dpkg. 2009-08-13 16:46:20 +02:00
Makefile Mega-commit with improvements and changes done in the past days. 2009-08-08 22:29:48 +02:00
remove.c Add the concept of purging a package, such as with dpkg. 2009-08-13 16:46:20 +02:00