[pve-devel] [PATCH proxmox-widget-toolkit] apt: match "Debian Backports" origin

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Jul 15 10:08:48 CEST 2021


some users might have that enabled, and we know it is from Debian and
not '?'

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 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 `<i class='${cls}'></i> ${value}`;
-- 
2.30.2






More information about the pve-devel mailing list