How do I list files from a Debian package using eptlibs?
1 answer
The main developer of libect (Petr Rockai) explains to me that unfortunately libept does not have such a method at this time. What they do in Adept:
QString flfilename = "/var/lib/dpkg/info/" + u8(t.package()) + ".list";
QFile flfile(flfilename);
QTextStream flInStream(&flfile);
while (!flInStream.atEnd()) {
QString line = flInStream.readLine();
// do stuff with line
}
flfile.close();
0
source to share