From: Jay Freeman (saurik) Date: Sat, 12 Mar 2011 22:44:49 +0000 (-0800) Subject: Better consider preinst in makefile. X-Git-Tag: v1.1.0%b7~34 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/f5cb18ca4fc5d17f2d1565bebf79b84931a680c2 Better consider preinst in makefile. --- diff --git a/makefile b/makefile index 293bc762..33557d67 100644 --- a/makefile +++ b/makefile @@ -129,7 +129,7 @@ MobileCydia: sysroot $(object) CydiaAppliance: CydiaAppliance.mm $(cycc) $(filter %.mm,$^) $(flags) -bundle $(link) $(backrow) -debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia $(images) $(shell find MobileCydia.app) cydia.control +debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst $(images) $(shell find MobileCydia.app) cydia.control sudo rm -rf _ mkdir -p _/var/lib/cydia @@ -185,7 +185,6 @@ $(lproj_deb): $(shell find MobileCydia.app -name '*.strings') cydia-lproj.contro mkdir -p __/DEBIAN ./control.sh cydia-lproj.control __ >__/DEBIAN/control - cp -a preinst __/DEBIAN/ sudo chown -R 0 __ sudo chgrp -R 0 __