File: meson_post_install.sh

package info (click to toggle)
gnome-color-manager 3.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,448 kB
  • sloc: ansic: 10,191; python: 127; cpp: 55; xml: 17; makefile: 13; sh: 11
file content (12 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
if [ -z $MESON_INSTALL_PREFIX ]; then
    echo 'This is meant to be ran from Meson only!'
    exit 1
fi

if [ -z $DESTDIR ]; then
    echo 'Updating icon cache'
    gtk-update-icon-cache -qtf "$MESON_INSTALL_PREFIX/share/icons/hicolor"
    echo 'Updating desktop database'
    update-desktop-database -q "$MESON_INSTALL_PREFIX/share/applications"
fi