Date: Sat, 20 Dec 2014 19:53:27 -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: <067E9547-B8B1-4671-8041-203F701062AA@langille.org> In-Reply-To: <20141220234656.GA60854@spectrum.skysmurf.nl> References: <355B8A8B-1224-4D09-9516-AEF4AAA7F2FE@langille.org> <20141220234656.GA60854@spectrum.skysmurf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_AB23F6B1-5D7F-454F-B80F-9A2C75A3F559 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 20, 2014, at 6:46 PM, A.J. 'Fonz' van Werven = <freebsd@skysmurf.nl> wrote: >=20 > Dan Langille wrote: >=20 >> 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 >=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. Is this what you mean? $ grep PLIST_SUB Makefile PLIST_SUB=3D WWWOWN=3D${WWWOWN} WWWGRP=3D${WWWGRP} BASE=3D${BASE} =E2=80=94 Dan Langille http://langille.org/ --Apple-Mail=_AB23F6B1-5D7F-454F-B80F-9A2C75A3F559 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJUlhoXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfzvcQALytEMHO6g0AqJmTx9GHHkIE fKl4RCb45uDTJcCMswXlpUbEeEmJAwE97wu5YAHpEYByenVDYG2Xxr1yGw2zZnLk 8IeM5PxNkhb9wf4ldzw8j9O237U4QK7HgybIlAOPaDNHI2gy6kwTpZcFAT2L1Hhg a1NNQcZ2J7Fg5U9y5w8VnPNophUYrUT8FE79GN6zN+YiOQh/kT1XlhepB1cHnYeP qO82tystrb3dkPfG7bL8PZF6cYvIQQ9yM4qvLPd/xtgifIQIdExKotm8S0Oum16O QQ577010ebtpAzwwBspj/lcbOjrDcazRQyk11D4bIjZEBesY+z74THIDmrNYkE3I MkbPXBxxCQpFk5s6wu9/K7cFfu6Suka8P1Nxd0ZvELMPT6smMKwMmKVr/ON350Sg NLqdmOFTE4/OUWGLza4IcR/sPqWxWKtKV9JHLgCt9dGy+5HzhxxA5uxaUs7L+Y5k A3GNbBAyw/RufC9A9mDNbvALSANEQHat+BuKrubIB34ggk5VWz7DOQ8jDQcpTT9U XKRNUA7bWsZgLbLqqvUFfHrLmxP/71s1boeopz+2YSdvxZpkTPGeEgL4QCHOEkIA tGA4s6sXmV8db/gLWClQej3C0HIV+gDcpMsFY794vBMKn7Ag8ti/YOrcPXiS3agS EOhjEgirn2Umhy4gBl9z =5fqC -----END PGP SIGNATURE----- --Apple-Mail=_AB23F6B1-5D7F-454F-B80F-9A2C75A3F559--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?067E9547-B8B1-4671-8041-203F701062AA>