diff options
Diffstat (limited to 'meson-postinstall.sh')
-rw-r--r-- | meson-postinstall.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson-postinstall.sh b/meson-postinstall.sh new file mode 100644 index 0000000..fa131ea --- /dev/null +++ b/meson-postinstall.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# Package managers set this so we don't need to run + +if [ -z "$DESTDIR" ]; then + echo Compiling GSettings schemas... + glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas + + echo Updating desktop database... + update-desktop-database -q ${MESON_INSTALL_PREFIX}/share/applications + + ln -sf ${MESON_INSTALL_PREFIX}/bin/'mate-calc' ${MESON_INSTALL_PREFIX}/bin/'mate-calculator' +fi |