Exec in repo? need clarification please!

Discussion in 'iOS Jailbreak & Cydia' started by mlbplayer456, Mar 23, 2008.

  1. mlbplayer456

    mlbplayer456 Banned

    Joined:
    Nov 11, 2007
    Messages:
    978
    Likes Received:
    6
    ok so I have a repo (obviously) and i have to new gba emulator in it and it needs to have a chmod command in it but how do i put exec in it without the whole repo not working.

    Code:
      <?xml version="1.0" encoding="UTF-8" ?> 
      <!DOCTYPE plist (View Source for full doctype...)> 
    - <plist version="1.0">
    - <dict>
      <key>info</key> 
    - <dict>
      <key>name</key> 
      <string>Nick's Repo</string> 
      <key>description</key> 
      <string>My brand new repo, more to come!</string> 
      <key>maintainer</key> 
      <string>Nick</string> 
      <key>contact</key> 
      <string>twc779@gmail.com</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com</string> 
      <key>category</key> 
      <string>Nick's Repo</string> 
      </dict>
      <key>packages</key> 
    - <array>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.romspack.njpilla</string> 
      <key>name</key> 
      <string>NES roms pack</string> 
      <key>version</key> 
      <string>1.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/NES.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>6151974</string> 
      <key>hash</key> 
      <string>39c018e83c0d980641be962eca8ec7f9bd9634a3</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/NES.zip</string> 
      <key>description</key> 
      <string>More than 50 Nes Roms!</string> 
      <key>date</key> 
      <string>1206077694</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>Notice</string> 
      <string>Please donate through paypal to twc779@gmail.com! Thanks!</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/var/root/Media/ROMs/NES</string> 
      <string>/var/mobile/Media/ROMs/NES</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/var/mobile/Media/ROMs/NES</string> 
      </array>
      </array>
      </dict>
      </dict>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.nesemu.njpilla</string> 
      <key>name</key> 
      <string>NES emulator</string> 
      <key>version</key> 
      <string>1.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/NES.app.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>366922</string> 
      <key>hash</key> 
      <string>dc8c865c385a8487c6fe176de1e51bfa95123298</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/NES.app.zip</string> 
      <key>description</key> 
      <string>The NES emulator for iPhone/iPod touch</string> 
      <key>date</key> 
      <string>1206081215</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>CopyPath</string> 
      <string>NES.app</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      </dict>
      </dict>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.gbaemu.njpilla</string> 
      <key>name</key> 
      <string>GBA emulator</string> 
      <key>version</key> 
      <string>1.5.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/gpSPhone.app.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>460132</string> 
      <key>hash</key> 
      <string>dad1f3fac5b0a6d4db748ea0dc06eea2</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/gpSPhone.app.zip</string> 
      <key>description</key> 
      <string>The GBA emulator for iPhone/iPod touch</string> 
      <key>date</key> 
      <string>1206242095</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>CopyPath</string> 
      <string>gpSPhone.app</string> 
      <string>/Applications/gpSPhone.app/</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      </dict>
      </dict>
      </array>
      </dict>
      </plist>
    please edit this text to help me get my repo up. i need the command to be:
    /bin/chmod -R 755/Applications/gpsPhone.app

    thanks!
  2. rickatnight11

    rickatnight11 New Member

    Joined:
    Dec 2, 2007
    Messages:
    477
    Likes Received:
    8
    Assuming the rest of the code is right (I didn't look at it

    Please Register or Log in to view images

    ) you should be able to plug this in and give it a go. Even easier than this, if you make sure the gpsPhone.app directory is set to 755 before zipping it, it should unzip with the same permissions. (This needs to be done on a Unix system. Doing it in Windows will lose the permissions.)
    Code:
    <array>
    <string>Exec</string>
    <string>/bin/chmod -R 755 /Applications/gpsPhone.app</string>
    </array>
  3. rickatnight11

    rickatnight11 New Member

    Joined:
    Dec 2, 2007
    Messages:
    477
    Likes Received:
    8
    Be happy. I put the code in where it should be. Again, assuming the rest of the repo is correct then this should run.

    Code:
    <?xml version="1.0" encoding="UTF-8" ?> 
      <!DOCTYPE plist (View Source for full doctype...)> 
    - <plist version="1.0">
    - <dict>
      <key>info</key> 
    - <dict>
      <key>name</key> 
      <string>Nick's Repo</string> 
      <key>description</key> 
      <string>My brand new repo, more to come!</string> 
      <key>maintainer</key> 
      <string>Nick</string> 
      <key>contact</key> 
      <string>twc779@gmail.com</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com</string> 
      <key>category</key> 
      <string>Nick's Repo</string> 
      </dict>
      <key>packages</key> 
    - <array>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.romspack.njpilla</string> 
      <key>name</key> 
      <string>NES roms pack</string> 
      <key>version</key> 
      <string>1.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/NES.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>6151974</string> 
      <key>hash</key> 
      <string>39c018e83c0d980641be962eca8ec7f9bd9634a3</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/NES.zip</string> 
      <key>description</key> 
      <string>More than 50 Nes Roms!</string> 
      <key>date</key> 
      <string>1206077694</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>Notice</string> 
      <string>Please donate through paypal to twc779@gmail.com! Thanks!</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/var/root/Media/ROMs/NES</string> 
      <string>/var/mobile/Media/ROMs/NES</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/var/mobile/Media/ROMs/NES</string> 
      </array>
      </array>
      </dict>
      </dict>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.nesemu.njpilla</string> 
      <key>name</key> 
      <string>NES emulator</string> 
      <key>version</key> 
      <string>1.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/NES.app.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>366922</string> 
      <key>hash</key> 
      <string>dc8c865c385a8487c6fe176de1e51bfa95123298</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/NES.app.zip</string> 
      <key>description</key> 
      <string>The NES emulator for iPhone/iPod touch</string> 
      <key>date</key> 
      <string>1206081215</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>CopyPath</string> 
      <string>NES.app</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      </dict>
      </dict>
    - <dict>
      <key>bundleIdentifier</key> 
      <string>com.gbaemu.njpilla</string> 
      <key>name</key> 
      <string>GBA emulator</string> 
      <key>version</key> 
      <string>1.5.0</string> 
      <key>location</key> 
      <string>http://njpilla.googlepages.com/gpSPhone.app.zip</string> 
      <key>category</key> 
      <string>Nick's Packages</string> 
      <key>size</key> 
      <string>460132</string> 
      <key>hash</key> 
      <string>dad1f3fac5b0a6d4db748ea0dc06eea2</string> 
      <key>url</key> 
      <string>http://njpilla.googlepages.com/gpSPhone.app.zip</string> 
      <key>description</key> 
      <string>The GBA emulator for iPhone/iPod touch</string> 
      <key>date</key> 
      <string>1206242095</string> 
      <key>scripts</key> 
    - <dict>
      <key>install</key> 
    - <array>
    - <array>
      <string>CopyPath</string> 
      <string>gpSPhone.app</string> 
      <string>/Applications/gpSPhone.app/</string> 
      </array>
      <array>
      <string>Exec</string>
      <string>/bin/chmod -R 755 /Applications/gpsPhone.app</string>
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/NES.app/</string> 
      </array>
      </array>
      </dict>
      </dict>
      </array>
      </dict>
      </plist>
  4. mlbplayer456

    mlbplayer456 Banned

    Joined:
    Nov 11, 2007
    Messages:
    978
    Likes Received:
    6
    says package download failed. dont you have to have preflight and stuff to be able to execute?
    and my repo has exceeded the max amount of bandwidth which i dont know what that is but i can't download anything right now.
  5. rickatnight11

    rickatnight11 New Member

    Joined:
    Dec 2, 2007
    Messages:
    477
    Likes Received:
    8
    Your bandwidth is how much data transfer per month (normally uses monthly increments) you are allowed. That's why you are getting Package Download Failed. It can't download the file because you have maxed out your bandwidth. I doubt your source is actually updating when you refresh it as well.

    Other reasons for getting this error is that the hash or download size are not correct in the repo. Since your bandwidth is maxed out, however, the bandwidth is the issue. If you would like a new host for free, please check out my thread here:

    http://www.ifans.com/forums/showthread.php?t=51706
  6. mlbplayer456

    mlbplayer456 Banned

    Joined:
    Nov 11, 2007
    Messages:
    978
    Likes Received:
    6
    when will it have enough bandwidth?
  7. rickatnight11

    rickatnight11 New Member

    Joined:
    Dec 2, 2007
    Messages:
    477
    Likes Received:
    8
    How do I know? I'm not Google. Check your website. It will tell you how much bandwidth you are allowed per month, how much you have so far, and when it resets.

Share This Page