summaryrefslogtreecommitdiffstats
path: root/desktop/simplenote/doinst.sh
diff options
context:
space:
mode:
author Skaendo2018-06-22 21:20:02 +0200
committer Willy Sudiarto Raharjo2018-06-22 21:20:02 +0200
commit6f761c3dca761f14f4ded966f7d3e747a6ec4c55 (patch)
tree7d623956fa2ede767ba15104d02313cab1f3c0cd /desktop/simplenote/doinst.sh
parentaeeea1513b1db4a3127845b165c2a2b99381e7be (diff)
downloadslackbuilds-6f761c3dca761f14f4ded966f7d3e747a6ec4c55.tar.gz
desktop/simplenote: Added (Note taking program).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/simplenote/doinst.sh')
-rw-r--r--desktop/simplenote/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/simplenote/doinst.sh b/desktop/simplenote/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/desktop/simplenote/doinst.sh
@@ -0,0 +1,9 @@
+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