[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kdenonbeta/kdedebian/kapture/libcapture



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";




Reply to: