Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 00:46:56 +0100
From:      "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl>
To:        Dan Langille <dan@langille.org>
Cc:        ports <freebsd-ports@freebsd.org>
Subject:   Re: removing a dir, regardless of content
Message-ID:  <20141220234656.GA60854@spectrum.skysmurf.nl>
In-Reply-To: <355B8A8B-1224-4D09-9516-AEF4AAA7F2FE@langille.org>
References:  <355B8A8B-1224-4D09-9516-AEF4AAA7F2FE@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dan Langille wrote:

> A webapp, www/bacula-web puts cache files at
> %%BASE%%/application/view/cache and on deinstall, that directory should
> be removed, even though there are files there.
>=20
> Can that be done?
>=20
> I=E2=80=99ve tried this in pkg-plist:
> @unexec rm -rf %%BASE%%/application/view/cache

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.

AvW

--=20
Imbibo, ergo sum.

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUlgpwAAoJEAfP7gJTaCe8jqsQAJibA8kGK1Q8gEXusT4S/0lH
nghCcbRYC6nsU9CN/dzI2owZjIkIV+ZoLnKJ5SPDP98wy3x2V2DvjFeqkgjBFyoi
9wR2q/EoOtIY93HY2ObV7IUunL9i8tyk5QjDbJazvI8yUYsJqXHfGMOuMzvo9QRK
GfT4hzkN6paWxMUIu2i/4mNsq2e1NkSXXuwHAKlmIJS/Dh7ta/5qiztFPtOYF4d2
Y/xU1/MqwH2yEVEbE8VbCTkBUitzeWViWI9fpBIy6zUQH2HGkqg9xtVAhBEtvDzC
kGxOAfnjLqO1OQ/J85f4Ldq6av6Xgrj59ZA2wUGO22aaFVg96IbThNBVb3HKEodA
3z4I9AkVnLgZxMW/vJLaj6sGEYP0WQxP5kavL9UALKlJn+R1uN7aCCPBvNwhgZMj
W9ak5v4loMSNtAqueID6VXVkyph7BlKws69/WiEocSP3lTK2gEDTsu9NxGdUuQuX
ipqwC7s8hNMmjp9RvsYrCDeVR4UOjOK7ZyZm3kWo+EOh8BGkKfsghNVVvt+MVkko
gdkJR0jUrOk5rfs7YDGmewB3vdW23iahH/6X/HBx9yIusFKmRPyDN2TJIL4ufCDj
Xs+muiPGvan67ZTeUoUdyYidNC+xj8VKLJxYFXeh4UjG6VB89yJphLW990mRg2x+
bCCnGmWACcGBDCWkQD6J
=f9P2
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--



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