[wpkg-users] Check size of two different files

Oliver Sauder os at esite.ch
Mon Jul 28 12:28:41 CEST 2014


It seems like WPKG Bugzilla is down <http://bugzilla.wpkg.org/> so
posting this here.

When I was reading the documentation <http://wpkg.org/Packages.xml#File>
I've kind of expected that something like the following should work:
<check type="file" condition="sizeequals" path="\path\on\machine"
value="@\path\on\server"/>

It turns out that sizeequals check does not support @ annotation after
all though.

I therefore added this feature and attached a patch. Would be great if
this could be applied.

Thanks,
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: size-equals-with-value-as-file-path.patch
Type: text/x-patch
Size: 682 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140728/b52b716d/attachment-0002.bin>


More information about the wpkg-users mailing list