DIVERT-AND-MODIFY(1)

NAME
divert-and-modify - use dpkg-divert to stash and modify files

SYNOPSIS
divert-and-modify list
divert-and-modify sync [-v]
divert-and-modify --help

DESCRIPTION
The divert-and-modify utility reads configuration files, uses dpkg-divert to divert some files belong to other packages, and then installs modified copies of those files under their original names. It needs somewhat better documentation.

ENVIRONMENT
The operation of the divert-and-modify utility is not directly influenced by any environment variables.

FILES
The structure of the TOML configuration files needs some documentation.

EXAMPLES
List the currently-configured file replacements:

    divert-and-modify list

Ensure all the configured files are diverted and replaced:

    divert-and-modify sync

Do the same, but display diagnostic output on the standard error stream:

    divert-and-modify sync -v

DIAGNOSTICS

SEE ALSO
dpkg-divert(1)

STANDARDS
No standards were harmed during the production of the divert-and-modify utility.

HISTORY
The divert-and-modify utility was written by Peter Pentchev in 2023.

AUTHORS
Peter Pentchev <roam@ringlet.net>

BUGS
No, thank you :) But if you should actually find any, please report them to the author.