aboutsummaryrefslogtreecommitdiffstats
path: root/debian/w3mbookmark.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/w3mbookmark.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/w3mbookmark.sh b/debian/w3mbookmark.sh
new file mode 100644
index 0000000..a8f9872
--- /dev/null
+++ b/debian/w3mbookmark.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp>
+#
+
+W3MBOOKMARK=/usr/lib/w3m/w3mbookmark-en
+eval `locale`
+locale=${LC_ALL:-$LANG}
+case X"$locale" in
+ Xja|Xja_JP|Xja_JP.*)
+ [ -x /usr/lib/w3m/w3mbookmark-ja ] && W3MBOOKMARK=/usr/lib/w3m/w3mbookmark-ja
+ ;;
+ *)
+ ;;
+esac
+exec $W3MBOOKMARK "$@"