mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
19 lines
1.2 KiB
Diff
19 lines
1.2 KiB
Diff
|
diff --git a/usr/bin/fxlocalechk.tcl b/usr/bin/fxlocalechk.tcl
|
||
|
index f0ebc6c..c3486fe 100755
|
||
|
--- a/usr/bin/fxlocalechk.tcl
|
||
|
+++ b/usr/bin/fxlocalechk.tcl
|
||
|
@@ -12,12 +12,7 @@
|
||
|
#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
|
||
|
#i18N
|
||
|
-#---- check locale with environment variable
|
||
|
-set locale_alias_path /usr/share/X11/locale
|
||
|
-
|
||
|
-if {[file exists $locale_alias_path/locale.alias] != 1} {
|
||
|
- set locale_alias_path /usr/lib/X11/locale
|
||
|
-}
|
||
|
+set locale_alias_path @libX11@/share/X11/locale
|
||
|
|
||
|
proc conv_locale {alias} {
|
||
|
global env envL locale_alias_path
|