File: meson_post_install.sh

package info (click to toggle)
librm 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,924 kB
  • sloc: ansic: 14,434; xml: 409; sh: 8; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 223 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Packagers set DESTDIR so we don't want to try writing to root
if [ -z $DESTDIR ]; then
	PREFIX=${MESON_INSTALL_PREFIX:-/usr}

	echo 'Compiling GSchema'
	glib-compile-schemas "$PREFIX/share/glib-2.0/schemas"
fi