dpkg-divert
Diverts file installation path.
Syntax
$dpkg-divert [OPTIONS] --add FILE
Examples
Examples
$dpkg-divert --add --package mypackage --divert /usr/bin/original /usr/bin/custom
Typical use cases
dpkg-divert --help
man dpkg-divert
Note
For package file override.
Export