diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2020-10-09 09:52:26 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-10 10:18:48 +0700 |
commit | ee543c4264e55a62767230374e6c984cc6473734 (patch) | |
tree | 012fa77a21a7226c3911f2356c0f2f474f92d642 /office/ghostwriter/doinst.sh | |
parent | d97909a58a4e13e5bc9962d2d00b031c20e85d7c (diff) |
office/ghostwriter: Added (distraction-free Markdown editor)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/ghostwriter/doinst.sh')
-rw-r--r-- | office/ghostwriter/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/ghostwriter/doinst.sh b/office/ghostwriter/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/office/ghostwriter/doinst.sh @@ -0,0 +1,13 @@ +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 [ -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 |