aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus-skk/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus-skk/profile.d')
-rw-r--r--misc/ibus-skk/profile.d/ibus-skk.csh4
-rw-r--r--misc/ibus-skk/profile.d/ibus-skk.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/misc/ibus-skk/profile.d/ibus-skk.csh b/misc/ibus-skk/profile.d/ibus-skk.csh
new file mode 100644
index 000000000000..99568a11848b
--- /dev/null
+++ b/misc/ibus-skk/profile.d/ibus-skk.csh
@@ -0,0 +1,4 @@
+[ -d /usr/share/ibus-skk ]
+if ($status == 0) then
+ setenv IBUS_SKK_PKGDATADIR /usr/share/ibus-skk
+endif
diff --git a/misc/ibus-skk/profile.d/ibus-skk.sh b/misc/ibus-skk/profile.d/ibus-skk.sh
new file mode 100644
index 000000000000..b7f0bf36ee2e
--- /dev/null
+++ b/misc/ibus-skk/profile.d/ibus-skk.sh
@@ -0,0 +1,4 @@
+if [ -d /usr/share/ibus-skk ]; then
+ export IBUS_SKK_PKGDATADIR=/usr/share/ibus-skk
+fi
+