From 1e9e6c9468373d9aec4f6b481f66ed73f15e492a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 30 Jun 2009 18:26:24 +0000 Subject: Fixed a bug in Homepage:/Website: and worked around a bug in 3.0 icon caches. --- Cydia.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Cydia.mm') diff --git a/Cydia.mm b/Cydia.mm index 4264ef4..9e165b4 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -2048,7 +2048,7 @@ struct PackageNameOrdering : _end _profile(Package$parse$Retain) - if (!homepage_.empty()) + if (homepage_.empty()) homepage_ = website; if (homepage_ == depiction_) homepage_.clear(); @@ -4274,7 +4274,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { case 4: [close_ setTitle:UCLocalize("REBOOT_DEVICE")]; break; } -#define Cache_ "/User/Library/Caches/com.apple.mobile.installation.plist" +#define ListCache_ "/User/Library/Caches/com.apple.mobile.installation.plist" +#define IconCache_ "/User/Library/Caches/com.apple.springboard-imagecache-icons.plist" if (NSMutableDictionary *cache = [[NSMutableDictionary alloc] initWithContentsOfFile:@ Cache_]) { [cache autorelease]; -- cgit v1.2.3