Quoting Jonathan Weiss ([EMAIL PROTECTED]):
> In pkg/PLIST for the rubygems-port I have:
> 
> @unexec rm %D/lib/ruby/gems/${REV}/source_cache
> 
> But this will be executed also if the file is not present and pkg_delete
> will carp.
> 
> How do I delete this file only if present?

How about just using `rm -f'?

Regards,
Michael.
-- 
Rumour is information distilled so finely that it can filter through
anything.
-- (Terry Pratchett, Feet of Clay)

Reply via email to