diff options
author | Giancarlo Dessi <slack@giand.it> | 2024-01-03 10:05:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-03 11:16:53 +0700 |
commit | 38159e03b4509325f2008fe2038c060efbb34881 (patch) | |
tree | 50179911223d03d103b72036c640530de5717f27 /graphics/MaterialX/doinst.sh | |
parent | 63ea6006e66ee3501200e80155ce42cc68aaa09f (diff) |
graphics/MaterialX: Added (Open standard for computer graphics).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/MaterialX/doinst.sh')
-rw-r--r-- | graphics/MaterialX/doinst.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/MaterialX/doinst.sh b/graphics/MaterialX/doinst.sh new file mode 100644 index 000000000000..f25bed6fb669 --- /dev/null +++ b/graphics/MaterialX/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi |