Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 08:24:04 +0200
From:      Jean-Sebastien Roy <js@jeannot.org>
To:        "Akinori MUSHA" <knu@iDaemons.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Problem removing links to directories with pkg_delete
Message-ID:  <p04330101b79d213285f4@[192.168.0.2]>
In-Reply-To: <86u1zcfsr0.wl@archon.local.idaemons.org>
References:  <p04330100b79c8edc182d@192.168.0.2> <p04330100b79c8edc182d@[192.168.0.2]> <86u1zcfsr0.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>At Sun, 12 Aug 2001 22:10:25 +0200,
>Jean-Sebastien Roy wrote:
>> I made a port (scilab 2.6, see: ports/26997) that includes a file
>> named "config" in it's plist. This file is a link to a
>> directory. (the name has no importance)
>>
>> When I use "make deinstall" to uninstall the port, everything is fine.
>> (I used the recommanded test ordering in the handbook and everything went fine)
>>
>> But when I use pkg_delete, it complains that the directory enclosing
>> "config" cannot be removed because it is not empty. Indeed, it
>> contains "config", which was not removed. I suppose it's because its
>> MD5 checksum changed while pkg_delete removed file in the directory
>> "config" points to.
>> What is the recomended way to cope with this problem (and with links
>> inside plist in general) ?
>
>List the symlink prior to the file/directory it points to. :)

Of course... but it breaks the handbook recommendation to keep the files sorted alphabeticaly. It's the only solution ?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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