aboutsummaryrefslogtreecommitdiff
path: root/development/ghex/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-08 20:27:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-10 10:18:44 +0700
commit5a2d9d025550173b699f12ab1c33e688019ba012 (patch)
treebd2edbda92e14333336a108cb748ed5e5eb3f60c /development/ghex/doinst.sh
parente6d2e6f808aa807d20fb810cf7bdff9114972bc3 (diff)
development/ghex: Added (hex editor with GTK+3 GUI)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ghex/doinst.sh')
-rw-r--r--development/ghex/doinst.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/development/ghex/doinst.sh b/development/ghex/doinst.sh
new file mode 100644
index 0000000000000..9b26fbab9d949
--- /dev/null
+++ b/development/ghex/doinst.sh
@@ -0,0 +1,16 @@
+
+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 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