Welcome to mirror list, hosted at ThFree Co, Russian Federation.

uninstall.sh « linux - github.com/13rac1/emojione-color-font.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b6b4b6e146b651e2b6ca5194ef4123d36c35221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#https://github.com/eosrei/emojione-color-font
echo "EmojiOne Color font uninstaller for Linux\n"

set -v

# Set XDG_DATA_HOME to default if empty.
if [ -z "$XDG_DATA_HOME" ];then
  XDG_DATA_HOME=$HOME/.local/share
fi
FONTCONFIG=$HOME/.config/fontconfig

rm $XDG_DATA_HOME/fonts/EmojiOneColor-SVGinOT.ttf
rm $FONTCONFIG/conf.d/56-emojione-color.conf

echo "Clearing font cache"
fc-cache -f

echo "Done!"