Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When building reverse dep list, use "pkg query" instead of "pkg rquer…

…y", which is faster and less prone to failure
  • Loading branch information...
commit 1fe652fe8a67415901490647b0c9e7af7b1f52ca 1 parent e3174a0
@kmoore134 kmoore134 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src-qt4/pc-pkgmanager/mainWin.cpp
View
6 src-qt4/pc-pkgmanager/mainWin.cpp
@@ -897,9 +897,9 @@ void mainWin::applyNGChanges()
pkgRDepList.clear();
QProcess p;
if ( wDir.isEmpty() )
- p.start("pkg", QStringList() << "rquery" << "%n-%v:::%rn-%rv" << rmPkgs.at(i));
+ p.start("pkg", QStringList() << "query" << "%n-%v:::%rn-%rv" << rmPkgs.at(i));
else
- p.start("chroot", QStringList() << wDir << "pkg" << "rquery" << "%n-%v:::%rn-%rv" << rmPkgs.at(i) );
+ p.start("chroot", QStringList() << wDir << "pkg" << "query" << "%n-%v:::%rn-%rv" << rmPkgs.at(i) );
while(p.state() == QProcess::Starting || p.state() == QProcess::Running) {
p.waitForFinished(200);
QCoreApplication::processEvents();
@@ -915,7 +915,7 @@ void mainWin::applyNGChanges()
QString pName = rDeps.at(r).section(":::", 1, 1);
// Is this package installed?
if ( pkgList.indexOf(pName) != -1 )
- confirmText+= pName + " ";
+ confirmText+= pName + "\n";
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.