Date:2013-07-19 20:41:17 (10 years 8 months ago)
Author:Paul Cercueil
Commit:9dae4b76df963cdbe6e65d0c9c76f5dc930216dc
Message:Accept meta-data named *.all.desktop in OPK files

This could be used to create platform-independent packages. It can
be useful for instance in the case where the executable is a script,
or when the package points to an executable that is present on all
systems on which OPKs are supposed to run.
Files: src/menu.cpp (1 diff)

Change Details

src/menu.cpp
494494            pos = metadata.rfind('.');
495495            metadata = metadata.substr(pos + 1);
496496
497            if (metadata.compare(PLATFORM) == 0) {
497            if (!metadata.compare(PLATFORM) || !metadata.compare("all")) {
498498                has_metadata = true;
499499                break;
500500            }

Archive Download the corresponding diff file



interactive