On Tue, Oct 24, 2006 at 08:39:22PM +0200, Marc Balmer wrote:
> following the discussion about pkg_delete -c removing any data
> associated with the use of a specific port, I propose the following for
> discussion:
> 
> add a new flag, -D, to remove any data that was created by using a
> certain port.  like whole database clusters.  Could be indicated in a
> PLIST like
> 
> @rmdata rm -r /var/the_data_of_the_port
> 
> I am strongly against pkg_delete -c to delete any user data.
> 

Iiick. Using rm -r to kill some data sounds very evil to me as it may
delete way more then the user wanted. Why not just rmdir the directory and
print a message when it fails? Something similar seems to be already done
by pkg_delete if a file checksum changed.

-- 
:wq Claudio

Reply via email to