-
03-12-2010, 07:20 AM #1
Needing help with postinst in deb package
Hey,
I'm making a new theme, and I need some help getting cydia to read my shell execution (post installation).
Here is my postinst
It works 100% when i use dpkg -i, but when using it in Cydia, it doesn't seem to work.Code:#!/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 Doublepost
myRepoSpace.com - Easily create your own Cydia Repo.
-
09-05-2011, 09:05 AM #2Green Apple
- Join Date
- Sep 2011
- Location
- Hayward, California, United States
- Posts
- 36
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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 #4Green Apple
- Join Date
- Sep 2011
- Location
- Hayward, California, United States
- Posts
- 36
- Thanks
- 0
- Thanked 0 Times in 0 Posts
-
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'



LinkBack URL
About LinkBacks
Reply With Quote
