From 78be60a079695b0306b6530eb0f757fe4125e472 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Fri, 9 Jun 2023 16:16:25 +0200 Subject: [PATCH] apt repositories: fix typo for getting the default unknown text Could lead to a type error with classifyOrigin when there is a repository that doesn't have an InRelease file and cannot be detected as Debian/Proxmox origin from its URL. For me, it triggered with the element.io repository after changing to bookworm (which currently doesn't exist yet) and running apt update. Signed-off-by: Fiona Ebner --- 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 cba9271..47c0a2c 100644 --- a/src/node/APTRepositories.js +++ b/src/node/APTRepositories.js @@ -697,7 +697,7 @@ Ext.define('Proxmox.node.APTRepositories', { repo.Path = file.path; repo.Index = n; if (infos[file.path] && infos[file.path][n]) { - repo.Origin = infos[file.path][n].origin || Proxmox.Utils.UnknownText; + repo.Origin = infos[file.path][n].origin || Proxmox.Utils.unknownText; repo.warnings = infos[file.path][n].warnings || []; if (repo.Enabled) {