author | andyq <andyq> | 2002-10-29 18:33:34 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-29 18:33:34 (UTC) |
commit | 45d9a30ec17b5146ffdac8e776003752fe2deeea (patch) (unidiff) | |
tree | feeefaa97320466bd704c3b8253cfa5970616571 | |
parent | 2c3aa49e64a63f475bd60707c8cc105829691ab1 (diff) | |
download | opie-45d9a30ec17b5146ffdac8e776003752fe2deeea.zip opie-45d9a30ec17b5146ffdac8e776003752fe2deeea.tar.gz opie-45d9a30ec17b5146ffdac8e776003752fe2deeea.tar.bz2 |
Removed crap status message after ipkg finishes
-rw-r--r-- | noncore/settings/aqpkg/ipkg.cpp | 3 |
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 | ||
166 | int Ipkg :: executeIpkgCommand( QString &cmd, const QString option ) | 167 | int 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; |