/etc/pkg.add.conf
pkg.add.conf
controls how pkg.add(8) handles files during installation and upgrade. Rules determine which files are installed, skipped, or preserved.EVENT PATTERN ACTION
Blank lines and lines beginning with#
are ignored.
Rules are evaluated in order; the
last
matching rule wins.UPGRADEINSTALLYESNO# Keep existing configuration files on upgrade UPGRADE ^etc/.*$ NO # But always upgrade /etc/skel UPGRADE ^etc/skel YES # Never install info directory INSTALL ^usr/share/info/dir$ NO