main: drop -security and -backports suffixes from distribution

This commit is contained in:
Dawid Dziurla 2020-03-26 17:10:18 +01:00
parent 6fbfcd70f0
commit 85503a8961
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -7,6 +7,8 @@ const fs = require("fs")
function getDistribution(distribution) {
return distribution.replace("UNRELEASED", "unstable")
.replace("-security", "")
.replace("-backports", "")
}
async function getOS(distribution) {