Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 11:01:59 +0100
From:      Tijl Coosemans <tijl@coosemans.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: how to tell pkg-list not to deinstall/overwrite certain files
Message-ID:  <20131110110159.15782b5b@kalimero.tijl.coosemans.org>
In-Reply-To: <CAGBxaX=NQdZ4th8Ww2FxoMtmd1j0bVq5-Lsx=927CvqbHfZ70A@mail.gmail.com>
References:  <CAGBxaXkB6kCTROH5ABXNj1_8iCocYFArW8Sd%2BKFYY2URxvfd7w@mail.gmail.com> <CAGBxaX=O7sweECkRLJD8Djb%2B5b5fZy4uRr11%2BidSr7n0RVdJjA@mail.gmail.com> <20131108121306.389ada0e@kalimero.tijl.coosemans.org> <CAGBxaX=NQdZ4th8Ww2FxoMtmd1j0bVq5-Lsx=927CvqbHfZ70A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131110110159.15782b5b>