summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-06-30 18:26:24 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:58 +0000
commit1e9e6c9468373d9aec4f6b481f66ed73f15e492a (patch)
tree1c1a9695b5452550b6da7537896f0acfcc683ee0
parent3b0f10b0d6210f1c9dcfaea741138b937acf0890 (diff)
Fixed a bug in Homepage:/Website: and worked around a bug in 3.0 icon caches.
-rw-r--r--Cydia.mm5
1 files changed, 3 insertions, 2 deletions
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];