main: drop -security and -backports suffixes from distribution
This commit is contained in:
parent
6fbfcd70f0
commit
85503a8961
2
main.js
2
main.js
|
@ -7,6 +7,8 @@ const fs = require("fs")
|
||||||
|
|
||||||
function getDistribution(distribution) {
|
function getDistribution(distribution) {
|
||||||
return distribution.replace("UNRELEASED", "unstable")
|
return distribution.replace("UNRELEASED", "unstable")
|
||||||
|
.replace("-security", "")
|
||||||
|
.replace("-backports", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getOS(distribution) {
|
async function getOS(distribution) {
|
||||||
|
|
Loading…
Reference in a new issue