Changeset 1fe652f


Ignore:
Timestamp:
02/05/14 09:21:22 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
bff9a7d0
Parents:
e3174a0a
Message:

When building reverse dep list, use "pkg query" instead of "pkg rquery", which is faster and less prone to failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-pkgmanager/mainWin.cpp

    r405f33b r1fe652f  
    898898         QProcess p; 
    899899         if ( wDir.isEmpty() ) 
    900            p.start("pkg", QStringList() << "rquery" << "%n-%v:::%rn-%rv" << rmPkgs.at(i)); 
     900           p.start("pkg", QStringList() << "query" << "%n-%v:::%rn-%rv" << rmPkgs.at(i)); 
    901901         else 
    902            p.start("chroot", QStringList() << wDir << "pkg" << "rquery" << "%n-%v:::%rn-%rv" << rmPkgs.at(i) ); 
     902           p.start("chroot", QStringList() << wDir << "pkg" << "query" << "%n-%v:::%rn-%rv" << rmPkgs.at(i) ); 
    903903         while(p.state() == QProcess::Starting || p.state() == QProcess::Running) { 
    904904           p.waitForFinished(200); 
     
    916916             // Is this package installed? 
    917917             if ( pkgList.indexOf(pName) != -1 ) 
    918                confirmText+= pName + " "; 
     918               confirmText+= pName + "\n"; 
    919919         } 
    920920      } 
Note: See TracChangeset for help on using the changeset viewer.