summaryrefslogtreecommitdiffstats
path: root/network/epiphany/doinst.sh
diff options
context:
space:
mode:
author Charadon2022-09-16 23:29:58 +0200
committer bedlam2022-09-16 23:29:58 +0200
commita26c0759bcb48884ecb3bf6d61bd649ca15c9576 (patch)
tree406fb3e111638cc83af2e369a7fc4030563b1122 /network/epiphany/doinst.sh
parentae1d89d0986cc0acb49607d8dbfbad1a08203ddb (diff)
downloadslackbuilds-a26c0759bcb48884ecb3bf6d61bd649ca15c9576.tar.gz
network/epiphany: Added (Web browser from the GNOME desktop)
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'network/epiphany/doinst.sh')
-rw-r--r--network/epiphany/doinst.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/network/epiphany/doinst.sh b/network/epiphany/doinst.sh
new file mode 100644
index 0000000000..208ce12815
--- /dev/null
+++ b/network/epiphany/doinst.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+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 other icon themes are installed, then add to/modify this as needed
+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