From 8b06793b3d52d74db0d38ad19afd1c3e561ccbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 15 Jul 2021 10:08:48 +0200 Subject: [PATCH] apt: match "Debian Backports" origin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit some users might have that enabled, and we know it is from Debian and not '?' Signed-off-by: Fabian Grünbichler --- src/node/APTRepositories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js index c7222fc..4288e1a 100644 --- a/src/node/APTRepositories.js +++ b/src/node/APTRepositories.js @@ -360,7 +360,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', { let cls = 'fa fa-fw fa-question-circle-o'; if (value.match(/^\s*Proxmox\s*$/i)) { cls = 'pmx-itype-icon pmx-itype-icon-proxmox-x'; - } else if (value.match(/^\s*Debian\s*$/i)) { + } else if (value.match(/^\s*Debian\s*(:?Backports)?$/i)) { cls = 'pmx-itype-icon pmx-itype-icon-debian-swirl'; } return ` ${value}`;