API CHANGE:

Remove the "fbsdupdate" and "fbsdupdatepkgs" options within the sysadm-update API call for starting an update. These options are no longer available with base pkgs (everything is run through the "pkgupdate" option instead).
This commit is contained in:
Ken Moore
2016-08-09 10:51:14 -04:00
parent fbc436db75
commit d430de0fce

View File

@@ -160,10 +160,10 @@ QJsonObject Update::startUpdate(QJsonObject jsin) {
flags = "chbranch " + jsin.value("branch").toString();
} else if ( target == "pkgupdate" ) {
flags = "pkgupdate";
} else if ( target == "fbsdupdate" ) {
/* } else if ( target == "fbsdupdate" ) {
flags = "fbsdupdate";
} else if ( target == "fbsdupdatepkgs" ) {
flags = "fbsdupdatepkgs";
flags = "fbsdupdatepkgs";*/
} else if ( target == "standalone" ) {
if (! keys.contains("tag") ) {
retObject.insert("error", "Missing required key 'tag'");