]> git.saurik.com Git - cydia.git/commitdiff
Fixed a bug in Homepage:/Website: and worked around a bug in 3.0 icon caches.
authorJay Freeman (saurik) <saurik@saurk.com>
Tue, 30 Jun 2009 18:26:24 +0000 (18:26 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:13:58 +0000 (07:13 +0000)
Cydia.mm

index 4264ef47ceecff44bd9ffb024b7632e8b5aa8c20..9e165b46ed2444aa2b9110a2bd60bbd0fdc63049 100644 (file)
--- 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];