diff options
author | Logan Rathbone <poprocks@gmail.com> | 2022-04-29 01:45:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-30 13:51:53 +0700 |
commit | ca6a7f5a6e1efae7c1d072832306a03c28d0e6c0 (patch) | |
tree | 794e4e3f93f21682dc8c10a681c1c66cadaa6a29 /desktop/gfi/doinst.sh | |
parent | c4b23e56c15b9e960d2719751bb5a64be16d44c4 (diff) |
desktop/gfi: Added (GTK Flatpak Installer)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gfi/doinst.sh')
-rw-r--r-- | desktop/gfi/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/gfi/doinst.sh b/desktop/gfi/doinst.sh new file mode 100644 index 0000000000000..76de420f4832c --- /dev/null +++ b/desktop/gfi/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/gtk4-update-icon-cache ]; then + /usr/bin/gtk4-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |