summarylogtreecommitdiffstats
path: root/ttf-twemoji-color.install
diff options
context:
space:
mode:
authorzoorat2023-11-10 01:04:29 +0600
committerzoorat2023-11-10 01:04:29 +0600
commit9b6e834f5afd09dbd08cb27cdda998dacff6f907 (patch)
tree76bd2b441aaa528cbdc4a11ed044a304ab6b3216 /ttf-twemoji-color.install
parent8118d1e4e9041dcfb84f81baaa1a7d6b304261e2 (diff)
downloadaur-9b6e834f5afd09dbd08cb27cdda998dacff6f907.tar.gz
updating to v14.0.2
Diffstat (limited to 'ttf-twemoji-color.install')
-rw-r--r--ttf-twemoji-color.install22
1 files changed, 8 insertions, 14 deletions
diff --git a/ttf-twemoji-color.install b/ttf-twemoji-color.install
index de3295ddcecc..4f5d772af226 100644
--- a/ttf-twemoji-color.install
+++ b/ttf-twemoji-color.install
@@ -1,20 +1,14 @@
-config=46-ttf-twemoji-color.conf
-
post_install() {
- echo "To finish installation, update the default font in /etc/fonts/conf.avail/${config} to your system font,"
- echo "and then copy or symlink the file into /etc/fonts/conf.d or ~/.config/fontconfig/conf.d"
- echo
- echo "SVG in OpenType (colour) fonts are currently only supported by Mozilla software. Other software will fallback to B&W glyphs."
-}
-
-post_upgrade() {
- echo "NOTE: The fontconfig file has been renamed from 56-ttf-twemoji-color.conf to ${config}."
- echo "You should ensure that you update any links or copies of this file in /etc/fonts/conf.d or ~/.config/fontconfig/conf.d"
+ echo "---"
+ echo " To finish installation, add this font configuration "
+ echo " sudo ln -sf /usr/share/fontconfig/conf.avail/46-ttf-twemoji-color.conf /etc/fonts/conf.d/46-ttf-twemoji-color.conf"
echo
- echo "You should now check the default system font is correct in /etc/fonts/conf.avail/${config}"
- echo "and ensure a copy of or link to this file is present in /etc/fonts/conf.d, or ~/.config/fontconfig/conf.d."
+ echo " and install ttf-bitstream-vera"
+ echo " ttf-bitstream-vera is default font for bug-free font fallback with the provided fontconfig."
+ echo " See: https://github.com/eosrei/emojione-color-font#why-bitstream-vera"
+ echo "---"
}
post_remove() {
- echo "To complete uninstallation, you should remove the manually installed ${config} from /etc/fonts/conf.d or ~/.config/fontconfig/conf.d"
+ echo " To complete uninstallation, you should remove /etc/fonts/conf.d/46-ttf-twemoji-color.conf"
}