diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fcitx-fbterm/fcitx-fbterm.install | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fcitx-fbterm/fcitx-fbterm.install')
-rw-r--r-- | community/fcitx-fbterm/fcitx-fbterm.install | 16 |
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" +} |