summaryrefslogtreecommitdiff
path: root/community/fcitx-fbterm/fcitx-fbterm.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/fcitx-fbterm/fcitx-fbterm.install
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/fcitx-fbterm/fcitx-fbterm.install')
-rw-r--r--community/fcitx-fbterm/fcitx-fbterm.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/fcitx-fbterm/fcitx-fbterm.install b/community/fcitx-fbterm/fcitx-fbterm.install
new file mode 100644
index 000000000..cca516725
--- /dev/null
+++ b/community/fcitx-fbterm/fcitx-fbterm.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}
+post_upgrade() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}