[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdedebian/kapture/libcapture
From: Peter Rockai <mornfall () logisys ! dyndns ! org>
Date: 2004-06-16 8:38:32
Message-ID: 20040616083832.7575A9092 () office ! kde ! org
[Download RAW message or body]
CVS commit by mornfall:
Fix the update w/o debtags crash. Hopefully.
M +4 -0 pkgtags.cpp 1.6
--- kdenonbeta/kdedebian/kapture/libcapture/pkgtags.cpp #1.5:1.6
@@ -268,4 +268,8 @@ int capture::pkgTagsUpdate (pkgAcquireSt
// Updates the package tag database (requires root)
{
+ if (access (fn_dist_vocab, R_OK))
+ return 1;
+ mkdir ((_config->FindDir("Dir::State::lists") + "tags/") . c_str (), 0755);
+
/// Update the system vocabulary
cerr << "Merging system vocabularies...\n";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic