23 lines
		
	
	
		
			963 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			963 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 | 
						|
From: Victor Fuentes <vmfuentes64@gmail.com>
 | 
						|
Date: Thu, 1 Aug 2024 16:03:53 -0400
 | 
						|
Subject: [PATCH] Change default location where calamares searches for locales
 | 
						|
 | 
						|
---
 | 
						|
 src/modules/locale/Config.cpp | 2 +-
 | 
						|
 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
						|
 | 
						|
diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp
 | 
						|
index 8fa17a768..79b5419b6 100644
 | 
						|
--- a/src/modules/locale/Config.cpp
 | 
						|
+++ b/src/modules/locale/Config.cpp
 | 
						|
@@ -48,7 +48,7 @@ loadLocales( const QString& localeGenPath )
 | 
						|
     // supported locales. We first try that one, and if it doesn't exist, we fall back
 | 
						|
     // to parsing the lines from locale.gen
 | 
						|
     localeGenLines.clear();
 | 
						|
-    QFile supported( "/usr/share/i18n/SUPPORTED" );
 | 
						|
+    QFile supported( "/run/current-system/sw/share/i18n/SUPPORTED" );
 | 
						|
     QByteArray ba;
 | 
						|
 
 | 
						|
     if ( supported.exists() && supported.open( QIODevice::ReadOnly | QIODevice::Text ) )
 |