aboutsummaryrefslogtreecommitdiff
path: root/desktop/mousepad/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2014-02-24 23:52:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-24 23:52:17 +0700
commit3f0215c266a060eb758a125e5a48cad64fdcf919 (patch)
treefb35e7964c89c76b1217b331eacc723d5790d05d /desktop/mousepad/doinst.sh
parent388384f3cb5d78f655b8ed9dea35a4d965416760 (diff)
desktop/mousepad: Added (simple text editor).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/mousepad/doinst.sh')
-rw-r--r--desktop/mousepad/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/mousepad/doinst.sh b/desktop/mousepad/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/desktop/mousepad/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi