From 6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:57:27 +0200 Subject: Adding upstream version 43.5. Signed-off-by: Daniel Baumann --- meson_post_install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 meson_post_install.sh (limited to 'meson_post_install.sh') diff --git a/meson_post_install.sh b/meson_post_install.sh new file mode 100755 index 0000000..c523b15 --- /dev/null +++ b/meson_post_install.sh @@ -0,0 +1,14 @@ +#!/bin/sh +if [ -z $MESON_INSTALL_PREFIX ]; then + echo 'This is meant to be ran from Meson only!' + exit 1 +fi + +if [ -z $DESTDIR ]; then + echo 'Compiling GSchema' + glib-compile-schemas "$MESON_INSTALL_PREFIX/share/glib-2.0/schemas" + echo 'Updating icon cache' + gtk-update-icon-cache -qtf "$MESON_INSTALL_PREFIX/share/icons/hicolor" + echo 'Updating desktop database' + update-desktop-database -q "$MESON_INSTALL_PREFIX/share/applications" +fi -- cgit v1.2.3