aboutsummaryrefslogtreecommitdiffstats
path: root/debian/w3mhelperpanel.sh
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
commit3ed51b364482af64749980ed7ce67812046b1713 (patch)
treea0cc68bf216c153e65f3b336b6b3b043132c42cb /debian/w3mhelperpanel.sh
parentAdding upstream version 0.1.10+0.1.11pre+kokb23 (diff)
downloadw3m-debian/0.1.10+0.1.11pre+kokb23-4.tar.gz
w3m-debian/0.1.10+0.1.11pre+kokb23-4.zip
Releasing debian version 0.1.10+0.1.11pre+kokb23-4debian/0.1.10+0.1.11pre+kokb23-4
Diffstat (limited to '')
-rw-r--r--debian/w3mhelperpanel.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/w3mhelperpanel.sh b/debian/w3mhelperpanel.sh
new file mode 100644
index 0000000..fd74f1c
--- /dev/null
+++ b/debian/w3mhelperpanel.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp>
+#
+
+W3MHELPERPANEL=/usr/lib/w3m/w3mhelperpanel-en
+eval `locale`
+locale=${LC_ALL:-$LANG}
+case X"$locale" in
+ Xja|Xja_JP|Xja_JP.*)
+ [ -x /usr/lib/w3m/w3mhelperpanel-ja ] && W3MHELPERPANEL=/usr/lib/w3m/w3mhelperpanel-ja
+ ;;
+ *)
+ ;;
+esac
+exec $W3MHELPERPANEL "$@"