how to tell pkg-list not to deinstall/overwrite certain files

Tijl Coosemans tijl at coosemans.org
Sun Nov 10 10:02:04 UTC 2013


On Sat, 9 Nov 2013 23:59:13 -0500 Aryeh Friedman wrote:
> Thanks the stuff worked there but it is not clear how to handle user dirs
> (don't nuke dirs withi user data for example we create /usr/local/vms and
> it should not be erased on deinstall)

With directories you can use @dirrmtry instead of @dirrm in pkg-plist.
Then the directory will only be removed if it's empty.


More information about the freebsd-ports mailing list