forked from uup-dump/api
Fix names of some updates
This commit is contained in:
parent
b9b4578f56
commit
655f375185
@ -209,7 +209,7 @@ function parseFetchUpdate($updateInfo, $out, $arch, $ring, $flight, $build, $sku
|
|||||||
$updateTitle = preg_replace('/ for .{3,5}-based systems| \(KB.*?\)/i', '', $updateTitle);
|
$updateTitle = preg_replace('/ for .{3,5}-based systems| \(KB.*?\)/i', '', $updateTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
$updateTitle = preg_replace("/ ?\d{4}-\d{2}\w{0,1} ?| ?$arch ?| ?x64 ?/i", '', $updateTitle);
|
$updateTitle = preg_replace("/ ?\d{4}-\d{2}\w* ?| ?$arch ?| ?x64 ?/i", '', $updateTitle);
|
||||||
|
|
||||||
if(!preg_match("/$foundBuild/i", $updateTitle)) {
|
if(!preg_match("/$foundBuild/i", $updateTitle)) {
|
||||||
$updateTitle = $updateTitle.' ('.$foundBuild.')';
|
$updateTitle = $updateTitle.' ('.$foundBuild.')';
|
||||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.21.5';
|
return '1.21.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user