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 | ||
---|---|---|
494 | 494 | pos = metadata.rfind('.'); |
495 | 495 | metadata = metadata.substr(pos + 1); |
496 | 496 | |
497 | if (metadata.compare(PLATFORM) == 0) { | |
497 | if (!metadata.compare(PLATFORM) || !metadata.compare("all")) { | |
498 | 498 | has_metadata = true; |
499 | 499 | break; |
500 | 500 | } |
Branches:
install_locations
master
opkrun
packages