From 85503a89614ab8f9fa8c6fd8355d226eaddc1184 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 26 Mar 2020 17:10:18 +0100 Subject: [PATCH] main: drop -security and -backports suffixes from distribution --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index 8797ead..bef2a54 100644 --- a/main.js +++ b/main.js @@ -7,6 +7,8 @@ const fs = require("fs") function getDistribution(distribution) { return distribution.replace("UNRELEASED", "unstable") + .replace("-security", "") + .replace("-backports", "") } async function getOS(distribution) {