summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/ipkg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/ipkg.cpp b/noncore/settings/aqpkg/ipkg.cpp
index 731a336..c762633 100644
--- a/noncore/settings/aqpkg/ipkg.cpp
+++ b/noncore/settings/aqpkg/ipkg.cpp
@@ -144,33 +144,34 @@ bool Ipkg :: runIpkg( )
144 144
145 // link dependant packages that were installed with this release 145 // link dependant packages that were installed with this release
146 QString *pkg; 146 QString *pkg;
147 for ( pkg = dependantPackages->first(); pkg != 0; pkg = dependantPackages->next() ) 147 for ( pkg = dependantPackages->first(); pkg != 0; pkg = dependantPackages->next() )
148 { 148 {
149 if ( *pkg == package ) 149 if ( *pkg == package )
150 continue; 150 continue;
151 emit outputText( " " ); 151 emit outputText( " " );
152 emit outputText( QString( "Creating symbolic links for " )+ (*pkg) ); 152 emit outputText( QString( "Creating symbolic links for " )+ (*pkg) );
153 linkPackage( Utils::getPackageNameFromIpkFilename( *pkg ), destination, destDir ); 153 linkPackage( Utils::getPackageNameFromIpkFilename( *pkg ), destination, destDir );
154 } 154 }
155 } 155 }
156 } 156 }
157 157
158 delete dependantPackages; 158 delete dependantPackages;
159 159
160 emit outputText( QString( "Finished - status=" ) + (ret ? "success" : "failure") ); 160// emit outputText( QString( "Finished - status=" ) + (ret ? "success" : "failure") );
161 emit outputText( "Finished" );
161 emit outputText( "" ); 162 emit outputText( "" );
162 return ret; 163 return ret;
163} 164}
164 165
165 166
166int Ipkg :: executeIpkgCommand( QString &cmd, const QString option ) 167int Ipkg :: executeIpkgCommand( QString &cmd, const QString option )
167{ 168{
168 FILE *fp = NULL; 169 FILE *fp = NULL;
169 char line[130]; 170 char line[130];
170 QString lineStr, lineStrOld; 171 QString lineStr, lineStrOld;
171 int ret = false; 172 int ret = false;
172 173
173 fp = popen( (const char *) cmd, "r"); 174 fp = popen( (const char *) cmd, "r");
174 if ( fp == NULL ) 175 if ( fp == NULL )
175 { 176 {
176 cout << "Couldn't execute " << cmd << "! err = " << fp << endl; 177 cout << "Couldn't execute " << cmd << "! err = " << fp << endl;