xbps icon indicating copy to clipboard operation
xbps copied to clipboard

`xbps-install` man page: Describe creation of `.new-<version>` files

Open camoz opened this issue 4 years ago • 0 comments

Nowhere in the xbps repo or void-docs repo is it mentioned that if there already exists a config file on the FS that is different from the config file in the package, the config file on disk won't be overwritten, but the new config file will be saved to .new-<version>.

There is this in xbps.d(5):

    keepconf=true|false
        If set to false (default), xbps will overwrite configuration files if
        they have not been changed since installation and a newer version is
        available.

        If set to true, xbps will save the new configuration file as
        <name>.new-<version> if the original configuration file has not been
        changed since installation.

But that doesn't count, because:

  • it's in the wrong man page
  • it describes a specific config setting
  • it doesn´t say anything about the situation I described above

camoz avatar Dec 26 '21 05:12 camoz