aboutsummaryrefslogtreecommitdiff
path: root/desktop/dolphin-megasync/doinst.sh
diff options
context:
space:
mode:
authorJW(Shinichi Abe) <shin1.abe@nifty.com>2022-11-19 10:06:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-19 10:06:18 +0700
commitfd15dd31e7920bebdd97ba4390bf3088d302507c (patch)
treedbeb910c33011fc5b504d97b1e8ad72460045921 /desktop/dolphin-megasync/doinst.sh
parente33b337f8bfb1916861a910e971bfe0b7c3d583b (diff)
desktop/dolphin-megasync: Added (MEGAsync plugin for dolphin).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/dolphin-megasync/doinst.sh')
-rw-r--r--desktop/dolphin-megasync/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/dolphin-megasync/doinst.sh b/desktop/dolphin-megasync/doinst.sh
new file mode 100644
index 0000000000000..a668ea01e4eea
--- /dev/null
+++ b/desktop/dolphin-megasync/doinst.sh
@@ -0,0 +1,11 @@
+
+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
+