diff options
Diffstat (limited to 'croco-kde.install')
-rw-r--r-- | croco-kde.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/croco-kde.install b/croco-kde.install new file mode 100644 index 000000000000..d27dcca625f8 --- /dev/null +++ b/croco-kde.install @@ -0,0 +1,21 @@ +msg() { + ALL_OFF="\e[1;0m" + BOLD="\e[1;1m" + GREEN="${BOLD}\e[1;32m" + local mesg=$1; shift + printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&2 +} + +post_install() { +post_upgrade +} + +post_upgrade() { + mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 + mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 + fc-cache -s >/dev/null + + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -ftq usr/share/icons/hicolor + /bin/sh -c 'dconf update' +} |