11 lines
186 B
Bash
11 lines
186 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
[ ! "$UID" = 0 ] && echo "You must run this script as root" && exit 1
|
||
|
|
||
|
echo "Installing..."
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
cp libhooks.so /usr/lib64/fcitx5/
|
||
|
cp hooks.conf /usr/share/fcitx5/addon/
|