i8
changed/i8/initial-setup-0.3.81.7-1.el8.inferit.1
parent
20b974b100
commit
e8670aed2e
@ -0,0 +1,25 @@
|
|||||||
|
From f009f0e954df27d04b885bd8c41993070cb09984 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tigro <tigro@msvsphere-os.ru>
|
||||||
|
Date: Mon, 22 Apr 2024 12:54:01 +0300
|
||||||
|
Subject: [PATCH] Use localized variable MSVSPHERE_PRETTY_NAME
|
||||||
|
|
||||||
|
---
|
||||||
|
initial_setup/product.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/initial_setup/product.py b/initial_setup/product.py
|
||||||
|
index d19b5f5..5a1fb06 100644
|
||||||
|
--- a/initial_setup/product.py
|
||||||
|
+++ b/initial_setup/product.py
|
||||||
|
@@ -26,7 +26,7 @@ def product_title():
|
||||||
|
(key, _eq, value) = line.strip().partition("=")
|
||||||
|
if not key or not _eq or not value:
|
||||||
|
continue
|
||||||
|
- if key == "PRETTY_NAME":
|
||||||
|
+ if key == "MSVSPHERE_PRETTY_NAME":
|
||||||
|
return value.strip('"')
|
||||||
|
except IOError:
|
||||||
|
log.exception("failed to check the release string file")
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
Loading…
Reference in new issue