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
- Introduce package states: unpacked, broken, installed, etc.
Not yet finished, only unpacked and installed are used for now.
- Move package metadata files in binary packages directly to
the top directory, this speeds up some ops and makes easier to
continue working in future changes.
- xbps-bin: -C flag to check the hash of package files has been
superseded by the 'check' target, which verifies the integrity
of an installed package.
- Use the 'essential' object when upgrading packages, overwritting
current files. This is needed for critical packages like sh, libc
and others.
- Miscellaneous tweaks and improvements thorough the code.
--HG--
extra : convert_revision : 2073fcc123efc24b3e9327b5e22aa91752f20df6