summarylogtreecommitdiffstats
path: root/ttf-twemoji-color.install
diff options
context:
space:
mode:
authorThomas Wood2017-05-03 16:15:46 +0100
committerThomas Wood2017-05-03 16:15:46 +0100
commit252b72490b88fdb3ef9d49d26367214929e0ce67 (patch)
tree884bf4cff55a90051ca6d7db6be2ad7bb763987a /ttf-twemoji-color.install
parentc4a56c3cb455e4190ce4af00bb1499e07047814d (diff)
downloadaur-252b72490b88fdb3ef9d49d26367214929e0ce67.tar.gz
Rename package from twemoji-color-font to ttf-twemoji-color
Diffstat (limited to 'ttf-twemoji-color.install')
-rw-r--r--ttf-twemoji-color.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/ttf-twemoji-color.install b/ttf-twemoji-color.install
new file mode 100644
index 000000000000..6a647afec307
--- /dev/null
+++ b/ttf-twemoji-color.install
@@ -0,0 +1,17 @@
+config=56-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 execute 'sudo ln -s /etc/fonts/conf.avail/${config} /etc/fonts/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 "You should now check the default system font is correct in /etc/fonts/conf.avail/${config}"
+ echo "and ensure a link to this file is present in /etc/fonts/conf.d"
+}
+
+post_remove() {
+ echo "To complete uninstallation, you should run 'sudo rm /etc/fonts/conf.avail/${config}'"
+}