Commit ed063075 authored by akiraohgaki's avatar akiraohgaki
Browse files

Merge branch 'develop'

parents 9ab4a9e1 3da48b9e
Pipeline #901 canceled with stage
in 4 seconds
{ {
"id": "ocs-manager", "id": "ocs-manager",
"name": "ocs-manager", "name": "ocs-manager",
"version": "0.8.0", "version": "0.8.1",
"organization": "Opendesktop.org", "organization": "Opendesktop.org",
"domain": "org.opendesktop.ocs-manager", "domain": "org.opendesktop.ocs-manager",
"icon": ":/desktop/ocs-manager.svg", "icon": ":/desktop/ocs-manager.svg",
......
...@@ -449,6 +449,15 @@ void ItemHandler::installDownloadedFile(Qtil::NetworkResource *resource) ...@@ -449,6 +449,15 @@ void ItemHandler::installDownloadedFile(Qtil::NetworkResource *resource)
installedFiles.append(QJsonValue(destFilename)); installedFiles.append(QJsonValue(destFilename));
} }
if (installedFiles.isEmpty()) {
result["status"] = QString("error_install");
result["message"] = tr("Failed to installation");
emit installFinished(result);
tempDir.remove();
resource->deleteLater();
return;
}
// Installation post-process // Installation post-process
metadata.remove("command"); metadata.remove("command");
metadata["files"] = installedFiles; metadata["files"] = installedFiles;
......
#!/bin/bash #!/bin/bash
PKGNAME='ocs-manager' PKGNAME='ocs-manager'
PKGVER='0.8.0' PKGVER='0.8.1'
PKGREL='1' PKGREL='1'
#UPDINFO='zsync|http://***/ocs-manager-x86_64.AppImage.zsync' #UPDINFO='zsync|http://***/ocs-manager-x86_64.AppImage.zsync'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment