summary refs log blame commit diff
path: root/pkgs/tools/misc/calamares/supportedlocale.patch
blob: ab161ffdee7c2028f4c534d23288a46afa0648a5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                         
diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp
index 2357019a7..75b547430 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 ) )