summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-05 00:57:41 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-05 00:57:41 -0700
commit7cf0c7b3cdd2c1e190fcbd8d05ac5775d935b687 (patch)
treeb2d97f4edd1fe725b882aa9bee8b23f562a23411 /MobileCydia.mm
parentd59938e3a2131e61f875f6eff48af5f89f57c732 (diff)
No: inline implementation is *equally* invalid ;P.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm9
1 files changed, 8 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 5596759..e03dee4 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9349,7 +9349,14 @@ _end
@synchronized (self) {
for (Package *broken in (id) broken_) {
[broken remove];
- system([[NSString stringWithFormat:@"/usr/libexec/cydia/cydo /usr/libexec/cydia/fixhalf.sh %@", [broken id]] UTF8String]);
+ NSString *id([broken id]);
+ system([[NSString stringWithFormat:@"/usr/libexec/cydia/cydo /bin/rm -f"
+ " /var/lib/dpkg/info/%@.prerm"
+ " /var/lib/dpkg/info/%@.postrm"
+ " /var/lib/dpkg/info/%@.preinst"
+ " /var/lib/dpkg/info/%@.postinst"
+ " /var/lib/dpkg/info/%@.extrainst_"
+ "", id, id, id, id, id] UTF8String]);
}
[self resolve];