diff options
author | afhpayne <github@komputermatrix.com> | 2022-08-15 20:53:05 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 10:06:34 +0700 |
commit | 09cef9bec493cfde5e165e28052489b273f5b8fd (patch) | |
tree | b2c03bb0141dc326f61d13aa9e26c71f32a53a05 /desktop/rofi/doinst.sh | |
parent | 1a6e6cfbf21ad497583edc1e19151ca68082a039 (diff) |
desktop/rofi: Updated for version 1.7.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/rofi/doinst.sh')
-rw-r--r-- | desktop/rofi/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/rofi/doinst.sh b/desktop/rofi/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /dev/null +++ b/desktop/rofi/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |