aboutsummaryrefslogtreecommitdiff
path: root/development/oni/doinst.sh
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2018-11-08 10:51:02 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:58 +0700
commit67049367c2a4fceb72cf73331b51aa6081fafb76 (patch)
tree7f753662c08d8700e9c57ed205b113bfca7c52da /development/oni/doinst.sh
parent89e2d46184d61dd137882d2310a92f431f7035d9 (diff)
development/oni: Added (modern modal editing).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/oni/doinst.sh')
-rw-r--r--development/oni/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/oni/doinst.sh b/development/oni/doinst.sh
new file mode 100644
index 0000000000000..4a25de5e6fbd1
--- /dev/null
+++ b/development/oni/doinst.sh
@@ -0,0 +1,10 @@
+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
+