mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-07 22:47:29 +00:00
locally installing ibus-keyman component
This commit is contained in:
parent
3f60361d17
commit
3e50834ecf
1 changed files with 17 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ fi
|
|||
if [ -f "/usr/share/ibus/component/kmfl.xml" ] && [ "${SUDOINSTALL}" == "yes" ]; then
|
||||
if grep -Fq "/usr/lib/ibus" /usr/share/ibus/component/kmfl.xml
|
||||
then
|
||||
echo "component file is ibus-kmfl package version so move it"
|
||||
echo "component file is in ibus-kmfl package version so move it"
|
||||
echo "run 'sudo make uninstall' to put it back"
|
||||
mv /usr/share/ibus/component/kmfl.xml /usr/share/doc/ibus-kmfl/
|
||||
else
|
||||
|
|
@ -35,6 +35,18 @@ if [ -f "/usr/share/ibus/component/kmfl.xml" ] && [ "${SUDOINSTALL}" == "yes" ];
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -f "/usr/share/ibus/component/keyman.xml" ] && [ "${SUDOINSTALL}" == "yes" ]; then
|
||||
if grep -Fq "/usr/lib/ibus" /usr/share/ibus/component/keyman.xml
|
||||
then
|
||||
echo "component file is in ibus-keyman package version so move it"
|
||||
echo "run 'sudo make uninstall' to put it back"
|
||||
mv /usr/share/ibus/component/keyman.xml /usr/share/doc/ibus-keyman/
|
||||
else
|
||||
echo "component file is local one so overwrite it"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
cd keyboardprocessor
|
||||
ninja install
|
||||
cd $BASEDIR
|
||||
|
|
@ -82,3 +94,7 @@ if [ -f "/usr/share/doc/ibus-kmfl/kmfl.xml" ] && [ "${SUDOINSTALL}" == "uninstal
|
|||
mv /usr/share/doc/ibus-kmfl/kmfl.xml /usr/share/ibus/component/
|
||||
fi
|
||||
|
||||
if [ -f "/usr/share/doc/ibus-keyman/keyman.xml" ] && [ "${SUDOINSTALL}" == "uninstall" ]; then
|
||||
echo "putting ibus-keyman package component file back"
|
||||
mv /usr/share/doc/ibus-keyman/keyman.xml /usr/share/ibus/component/
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue