author | tille <tille> | 2002-05-12 13:29:15 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-12 13:29:15 (UTC) |
commit | 0ee7616dae861e140b0a68b9f04e39f3217b4711 (patch) (unidiff) | |
tree | 852465b35c894df05c00c5039886cf36696978b4 /noncore/unsupported/oipkg | |
parent | 98229e01acc37562671b546a8aa955415a0f5843 (diff) | |
download | opie-0ee7616dae861e140b0a68b9f04e39f3217b4711.zip opie-0ee7616dae861e140b0a68b9f04e39f3217b4711.tar.gz opie-0ee7616dae861e140b0a68b9f04e39f3217b4711.tar.bz2 |
removed dups
-rw-r--r-- | noncore/unsupported/oipkg/packagelist.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp index fdd1163..8f835b7 100644 --- a/noncore/unsupported/oipkg/packagelist.cpp +++ b/noncore/unsupported/oipkg/packagelist.cpp | |||
@@ -41,13 +41,14 @@ void PackageList::insertPackage( Package* pack ) | |||
41 | { | 41 | { |
42 | if (!pack) return; | 42 | if (!pack) return; |
43 | Package* p = packageListAll->find( pack->name() ); | 43 | Package* p = packageListAll->find( pack->name() ); |
44 | if ( p ) | 44 | if ( p ) |
45 | { | 45 | { |
46 | if ( (p->version() == pack->version()) | 46 | if ( (p->version() == pack->version()) |
47 | && (p->dest() == pack->dest()) ) | 47 | // && (p->dest() == pack->dest()) |
48 | ) | ||
48 | { | 49 | { |
49 | p->copyValues( pack ); | 50 | p->copyValues( pack ); |
50 | delete pack; | 51 | delete pack; |
51 | pack = p; | 52 | pack = p; |
52 | } else { | 53 | } else { |
53 | QDict<Package> *packver = p->getOtherVersions(); | 54 | QDict<Package> *packver = p->getOtherVersions(); |