author | tille <tille> | 2002-05-26 12:55:17 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-26 12:55:17 (UTC) |
commit | 5874b68d8447fa355f5034ad0e6c06bb48638f19 (patch) (side-by-side diff) | |
tree | c3e3e28ad4b3ee0e42a78bfd9398f62090f3e160 | |
parent | 602e52f454a3d3a5cd973f3d7957d2d96f86464e (diff) | |
download | opie-5874b68d8447fa355f5034ad0e6c06bb48638f19.zip opie-5874b68d8447fa355f5034ad0e6c06bb48638f19.tar.gz opie-5874b68d8447fa355f5034ad0e6c06bb48638f19.tar.bz2 |
fixed makelinks got version in name
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 0fa4c61..7b3fa1e 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp @@ -78,49 +78,49 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest ) out("\nError while executing "+ cmd+"\n\n"); return false; } else { while ( fgets( line, sizeof line, fp)) { lineStr = line; lineStr=lineStr.left(lineStr.length()-1); //Configuring opie-oipkg...Done if (lineStr.contains("Done")) ret = true; if (lineStr!=lineStrOld) out(lineStr); lineStrOld = lineStr; qApp->processEvents(); } pclose(fp); } //out( "Finished!"); pvDebug(2,QString(ret?"success\n":"failure\n")); return ret; } void PmIpkg::makeLinks(Package *pack) { pvDebug( 2, "PmIpkg::makeLinks "+ pack->name()); - linkPackage( pack->name(), pack->dest() ); + linkPackage( pack->installName(), pack->dest() ); } QStringList* PmIpkg::getList( QString packFileName, QString d ) { QString dest = settings->getDestinationUrlByName( d ); dest = dest==""?d:dest; if (dest == "/" ) return 0; { Config cfg( "oipkg", Config::User ); cfg.setGroup( "Common" ); QString statusDir = cfg.readEntry( "statusDir", "" ); } packFileName = dest+"/"+statusDir+"/info/"+packFileName+".list"; QFile f( packFileName ); if ( ! f.open(IO_ReadOnly) ) { pvDebug(1," Panik! Could not open"); out( "Panik!\n Could not open:\n"+packFileName ); return (QStringList*)0; } QStringList *fileList = new QStringList(); QTextStream t( &f ); while ( !t.eof() ) { |