File: mesonPostInstall.sh

package info (click to toggle)
waycheck 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: cpp: 637; xml: 230; sh: 45; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env 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 'Updating desktop database'
	update-desktop-database -q
	echo 'Updating icon cache'
	gtk-update-icon-cache -q -t -f "$PREFIX/share/icons/hicolor"
fi