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

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. :)

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"

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?86u1zcfsr0.wl>