Commit 84f41fa273e74fcdea79fe1c829facc46f7b0294
1 parent
fb6a9d75
Exists in
master
Retirada do download de cacic-script.sh do installcacic, porque esse script não existirá.
Showing
1 changed file
with
1 additions
and
9 deletions
Show diff stats
install-cacic/installcacic.cpp
... | ... | @@ -79,19 +79,11 @@ void InstallCacic::run(QStringList argv, int argc) { |
79 | 79 | metodoDownload["path"].toString() + "/cacic-service", |
80 | 80 | oCacic.getCacicMainFolder()); |
81 | 81 | |
82 | - oCacicComm->fileDownload(metodoDownload["tipo"].toString(), | |
83 | - metodoDownload["url"].toString(), | |
84 | - metodoDownload["path"].toString() + "/cacic-script.sh", | |
85 | - oCacic.getCacicMainFolder()); | |
86 | - | |
87 | - QFile fileScript(oCacic.getCacicMainFolder()+"/cacic-script.sh"); | |
88 | 82 | QFile fileService(oCacic.getCacicMainFolder()+"/cacic-service"); |
89 | - if ((!fileScript.exists() || !fileScript.size() > 0) && | |
90 | - (!fileService.exists() || !fileService.size() > 0)) { | |
83 | + if ((!fileService.exists() || !fileService.size() > 0)) { | |
91 | 84 | this->uninstall(); |
92 | 85 | return; |
93 | 86 | } |
94 | - fileScript.close(); | |
95 | 87 | fileService.close(); |
96 | 88 | |
97 | 89 | QStringList arguments; | ... | ... |