Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
03-12-2010, 07:20 AM #1Needing help with postinst in deb package
I'm making a new theme, and I need some help getting cydia to read my shell execution (post installation).
Here is my postinst
#!/bin/bash if [ -f /Applications/Backgrounder.app/badge.png ] then cp -f /Applications/Backgrounder.app/badge.png /Applications/Backgrounder.app/badge.png.bak cp -f "/Library/Themes/Simply Leopard.theme/badge.png" /Applications/Backgrounder.app/badge.png fi exit 0
Help will be thanked!
Anyone can help me with this?
Last edited by mofolo; 03-12-2010 at 07:20 AM. Reason: Automerged DoublepostmyRepoSpace.com - Easily create your own Cydia Repo.
09-05-2011, 09:05 AM #2
try dpkg -b NameOfFolder
09-05-2011, 09:23 AM #3
I don't know if it is required, but many pre/post scripts start with declare -a cydia, cydia=($CYDIA), and a test for install, upgrade, remove, etc.
09-08-2011, 09:49 AM #4
09-08-2011, 09:52 AM #5
dpkg -i NameOfPackage installs a deb package
dpkg -b NameOfFolder builds a package (.deb) from NameOfFolder
See dpkg --help or Google 'man dpkg'