removing a dir, regardless of content
A.J. 'Fonz' van Werven
freebsd at skysmurf.nl
Sat Dec 20 23:52:14 UTC 2014
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.
>
> Can that be done?
>
> Iâve 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
--
Imbibo, ergo sum.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141221/b785de1e/attachment.sig>
More information about the freebsd-ports
mailing list