Date: Sat, 20 Dec 2014 20:29:18 -0500 From: Dan Langille <dan@langille.org> To: "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl> Cc: ports <freebsd-ports@freebsd.org> Subject: Re: removing a dir, regardless of content Message-ID: <DB96CD6B-5D77-49CD-BF4E-67997A74EA4C@langille.org> In-Reply-To: <20141221010433.GA61634@spectrum.skysmurf.nl> References: <355B8A8B-1224-4D09-9516-AEF4AAA7F2FE@langille.org> <20141220234656.GA60854@spectrum.skysmurf.nl> <067E9547-B8B1-4671-8041-203F701062AA@langille.org> <20141221010433.GA61634@spectrum.skysmurf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Dec 20, 2014, at 8:04 PM, A.J. 'Fonz' van Werven = <freebsd@skysmurf.nl> wrote: >=20 > Dan Langille wrote: >=20 >>> Just to be sure: did you remember to add BASE to PLIST_SUB in the >>> Makefile? You probably did, but I figured I'd ask anyway. >>=20 >> Is this what you mean? >>=20 >> $ grep PLIST_SUB Makefile >> PLIST_SUB=3D WWWOWN=3D${WWWOWN} WWWGRP=3D${WWWGRP} BASE=3D${BASE} >=20 > Yes. And it seems to be okay, but if I'm not mistaken pkg-plist must = also > be added to SUB_FILES. >=20 > I don't have this port installed, but can you say what actually = happens > when trying to uninstall it? If it is indeed a PLIST_SUB/SUB_FILES = issue > then surely there must be an error message of some kind. There is no error. After install: $ ls -l /usr/local/www/bacula-web/application/view/cache total 10 -r--r--r-- 1 www www 51 Jul 29 12:23 README Add a file: [dan@empty ~]$ sudo touch = /usr/local/www/bacula-web/application/view/cache/things [dan@empty ~]$ ls -l /usr/local/www/bacula-web/application/view/cache total 10 -r--r--r-- 1 www www 51 Jul 29 12:23 README -rw-r--r-- 1 root www 0 Dec 20 23:25 things Delete the pkg: [dan@empty ~]$ sudo pkg delete www/bacula-web Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 = packages in the universe): Installed packages to be REMOVED: bacula-web-6.0.1_1 The operation will free 1 MB. Proceed with deinstalling packages? [y/N]: y [empty] [1/1] Deinstalling bacula-web-6.0.1_1... [empty] [1/1] Deleting files for bacula-web-6.0.1_1: 100% And our file is still there: [dan@empty ~]$ ls -l /usr/local/www/bacula-web/application/view/cache total 1 -rw-r--r-- 1 root www 0 Dec 20 23:25 things =E2=80=94=20 Dan Langille http://langille.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB96CD6B-5D77-49CD-BF4E-67997A74EA4C>