diff options
author | Brandon Pribula <b.pribs11@gmail.com> | 2022-05-04 08:53:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-07 13:59:33 +0700 |
commit | 558914cff071b8e7a22e239de7296985c3dd4654 (patch) | |
tree | 999f6c30eed7ea0b4d84473f1996d82609af4484 /office/featherpad/doinst.sh | |
parent | 2d558622be1dd3fb9db187cbe68fa3821894baa4 (diff) |
office/featherpad: Added (text editor)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/featherpad/doinst.sh')
-rw-r--r-- | office/featherpad/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/featherpad/doinst.sh b/office/featherpad/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/office/featherpad/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 |