webos-internals / build

Preware Builds
12 stars 17 forks source link

Fixed wrong path in postinst script of org.webosinternals.enyo #5

Closed pcworld closed 11 years ago

pcworld commented 12 years ago

Fixes bug (not tested): Used to create two directories called "framework": /usr/palm/frameworks/enyo/0.10/framework/framework/... instead of just /usr/palm/frameworks/enyo/0.10/framework

There probably needs to be some sort of update mechanism to fix currently installed packages as well.

rwhitby commented 12 years ago

Please bump the version in the Makefile too, for a complete pull request.

pcworld commented 12 years ago

Did do that, including changing the CHANGELOG line. Though shouldn't there be something like an "update script" to fix already installed packages? Does postinst get executed on an update too? Then the script could just check if there's the framework/framework directory and fix it by moving the "real" framework directory.

Also, someone should test this new postinst script before this goes live.