~ximion/listaller/master

« back to all changes in this revision

Viewing changes to src/application.vala

  • Committer: Matthias Klumpp
  • Date: 2014-09-07 02:32:09 UTC
  • Revision ID: git-v1:e6ba4d4678f83926e628759d784655913f65997a
Various fixes to smaller quirks when building IPK packages

* More checks for the input AppData
* Do not recursively find stuff with wildcards
* Allow files without timestamp in release

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
                uint64 timestamp = 0;
454
454
                for(uint i = 0; i < releases.length; i++) {
455
455
                        Appstream.Release r = releases.get (i);
456
 
                        if (r.get_timestamp () > timestamp) {
 
456
                        if (r.get_timestamp () >= timestamp) {
457
457
                                release = r;
458
458
                                timestamp = r.get_timestamp ();
459
459
                        }