On 2014-4-17 08:12 , Peter Danecek wrote:
>
> Now, however I came across a different issue. I realise I need to clean a
> cache directory as well. So I added the code below.
>
> ---
># purge fetch-crl cache
>delete [ glob ${prefix}/var/cache/fetch-crl/*.state ]
> ---
>
> The problem her
> # purge fetch-crl cache
> delete [ glob ${prefix}/var/cache/fetch-crl/*.state ]
You like want to foreach the glob result (or map if its defined).
foreach {filename} [ glob ${prefix}/var/cache/fetch-crl/*.state ] {
delete $filename
}
___
macpo
nt way to remove some directory (directories) if
>>>> they are empty in a Portfile.
>>>>
>>>> I would like to use this in the post-deactivate hook. There I remove some
>>>> unregistered files, after related registered files are deactivated.
>
rtfile.
>>>
>>> I would like to use this in the post-deactivate hook. There I remove some
>>> unregistered files, after related registered files are deactivated.
>>> However, afterwords I'd like to check if the dir now is empty and
>>> condition
On 2014-4-17 06:34 , Peter Danecek wrote:
>
> Hi all,
>
> I am looking for an elegant way to remove some directory (directories) if
> they are empty in a Portfile.
>
> I would like to use this in the post-deactivate hook. There I remove some
> unregistered files,
On 16 Apr 2014, at 22:41, Ryan Schmidt wrote:
> On Apr 16, 2014, at 15:34, Peter Danecek wrote:
>
>> I am looking for an elegant way to remove some directory (directories) if
>> they are empty in a Portfile.
>>
>> I would like to use this in the post-deacti
On Apr 16, 2014, at 15:34, Peter Danecek wrote:
> I am looking for an elegant way to remove some directory (directories) if
> they are empty in a Portfile.
>
> I would like to use this in the post-deactivate hook. There I remove some
> unregistered files, after related regis
Hi all,
I am looking for an elegant way to remove some directory (directories) if they
are empty in a Portfile.
I would like to use this in the post-deactivate hook. There I remove some
unregistered files, after related registered files are deactivated. However,
afterwords I'd like to
Le 22 mars 2010 à 16:15, Joshua Root a écrit :
> On 2010-3-23 01:19 , nox wrote:
>> Hi,
>>
>> Is there any progress for a support of post-deactivate hook?
>> hs-* ports really need that.
>
> It works fine in trunk.
>
> - Josh
Nice!
On 2010-3-23 01:19 , nox wrote:
> Hi,
>
> Is there any progress for a support of post-deactivate hook?
> hs-* ports really need that.
It works fine in trunk.
- Josh
___
macports-dev mailing list
macports-dev@lists.macosfo
Hi,
Is there any progress for a support of post-deactivate hook?
hs-* ports really need that.
Regards,
Anthony.
___
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
11 matches
Mail list logo