File: mesonPostInstall.sh

package info (click to toggle)
budgie-desktop 10.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,456 kB
  • sloc: ansic: 19,558; xml: 1,433; sh: 165; makefile: 31; perl: 19; python: 8
file content (16 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Borrowed from: https://github.com/vinszent/gnome-twitch/blob/master/meson_post_install.sh
# <3 TingPing ^^
if [ -z $DESTDIR ]; then

	PREFIX=${MESON_INSTALL_PREFIX:-/usr}

	echo 'Compiling GSchema'
	glib-compile-schemas "$PREFIX/share/glib-2.0/schemas"
	echo 'Updating desktop database'
	update-desktop-database -q
	echo 'Updating icon cache'
	gtk-update-icon-cache -q -t -f "$PREFIX/share/icons/hicolor"

fi