Difference between revisions of "Talk:Solution to App Catalog Installation Limit"

From WebOS Internals
Jump to: navigation, search
(Modified the APP variable in the script)
Line 13: Line 13:
  
 
--[[User:Xorg|Xorg]] 03:12, 1 October 2009 (UTC)
 
--[[User:Xorg|Xorg]] 03:12, 1 October 2009 (UTC)
 +
 +
My bad. The way the code was originally formatted, I couldn't cut and paste, and when entering it, I somehow missed the <code>cd $ORG</code> command. You're right, it should (and does) work in the original format.
 +
 +
--[[User:Hparsons|Herb]] 06:01, 1 October 2009 (UTC)
  
 
== Changing app directory to .app  ==
 
== Changing app directory to .app  ==

Revision as of 23:01, 30 September 2009

Modified the APP variable in the script

Modified the script to change
APP=$1
to
APP=/var/usr/palm/applications/$1
I'm no script writer, and wouldn't normally change someone else's code, but the script did not work as originally written unless you were already in that directory. I tested it with the changes, and it works properly now.

--Herb 14:31, 30 September 2009 (UTC)


Not sure why it didn't work for you as your change didn't work for me. Are you using a different shell? I added a line to force #!/bin/sh and altered the code back with a note about your change.

--Xorg 03:12, 1 October 2009 (UTC)

My bad. The way the code was originally formatted, I couldn't cut and paste, and when entering it, I somehow missed the cd $ORG command. You're right, it should (and does) work in the original format.

--Herb 06:01, 1 October 2009 (UTC)

Changing app directory to .app

I had noticed that with the 1.2 update, all of the graphics on the USB directory were being scanned as if they were photos. This was pretty much a mess, and hand planned on coming back here to suggest that the "app" directory be changed to ".app" so it would be hidden. I noticed the altered code already had that change, but the original intro did not. Assuming this was the intent, I changed that.

--Herb 14:36, 30 September 2009 (UTC)