~tristan957/harvest-almanac

harvest-almanac/meson_post_install.sh -rwxr-xr-x 449 bytes
0001fb55Tristan Partin Remove unused macros 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

icon_cache_folder="$MESON_INSTALL_PREFIX/share/icons/hicolor"

if [ -z $DESTDIR ]; then
	echo 'Compiling GSchema'
	glib-compile-schemas "$MESON_INSTALL_PREFIX/share/glib-2.0/schemas"

	if [ -f "$icon_cache_folder/.icon-theme.cache" ]; then
		echo 'Updating icon cache'
		gtk-update-icon-cache -qtf $icon_cache_folder
	fi

	echo 'Updating desktop database'
	update-desktop-database -q "$MESON_INSTALL_PREFIX/share/applications"
fi