aboutsummaryrefslogtreecommitdiff
path: root/desktop/engrampa/doinst.sh
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-05-19 22:44:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:13 +0700
commit3bd0b141a300812077d81961164843fa2013ee76 (patch)
tree7253520d360c20450b210ba08ef256bb626ce4ac /desktop/engrampa/doinst.sh
parent134998bde87798d8256814f90ed18d30c536ea49 (diff)
desktop/engrampa: Added (archive manager for the MATE desktop)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/engrampa/doinst.sh')
-rw-r--r--desktop/engrampa/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/engrampa/doinst.sh b/desktop/engrampa/doinst.sh
new file mode 100644
index 0000000000000..401d9877955be
--- /dev/null
+++ b/desktop/engrampa/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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