Results 1 to 5 of 5
Like Tree3Likes
  • 3 Post By Grabber5.0
  1.    #1  
    How do I create an IPK for a script that will execute and perform some actions, and the uninstall itself? This is similar to the AUSMT recovery scripts and the older Emergency Reconstruction/removal packages work. I know if I exit with a non-zero exit code it will be reported as an error by Preware or WOSQI, but the packages I just referenced report as successfully applying. Is there a particular exit code that does this, or another advanced IPK option?
  2.    #2  
    I think I managed to answer my own question by opening one of the self-removing packages in the Preware feed.. At the end of the postinst script (which does the work in this case) it does this:
    Code:
    ipkg -o $IPKG_OFFLINE_ROOT remove $PACKAGE
    $PACKAGE is defined earlier and is just the package id. IPKG_OFFLINE_ROOT is a system variable visible to the script.
    Remy X, vgg and gizmo21 like this.
  3. #3  
    hi, Grabber, you helped me already many times, I'm trying since 5 days to download webos doctor 3.0.5 for my tp,
    but the Hp site doesn't work anymore. I'm correct? there are other ways to download? If not, thanks anyway.
    Alfio Russo
  4. MikeN68's Avatar
    Posts
    332 Posts
    Global Posts
    333 Global Posts
    #4  
    Have a look through this thread - need a doctor
  5. #5  
    Quote Originally Posted by MikeN68 View Post
    Have a look through this thread - need a doctor
    @behemoth,

    When you follow the thread MikeN68 posted, use:

    63.80.4.201 downloads.help.palm.com

    and don't forget to clear your browser's cache for the last week... this will clear the "Premanent Redirect" HTTP response code that HP sent out when you first tried to download a Doctor
    ...

Similar Threads

  1. Create package to replace file
    By qurgh in forum webOS Development
    Replies: 2
    Last Post: 08/19/2010, 03:17 PM
  2. Replies: 1
    Last Post: 05/31/2010, 01:35 PM
  3. Best MP3 package
    By 180to650 in forum Palm OS Devices & Apps
    Replies: 12
    Last Post: 07/25/2006, 10:23 PM
  4. Replies: 11
    Last Post: 02/21/2005, 01:59 AM
  5. Removing a program that isn't removing!
    By b3n84 in forum Palm OS Devices & Apps
    Replies: 3
    Last Post: 10/31/2003, 07:23 AM

Posting Permissions