diff options
author | Kyle Guinn <elyk03@gmail.com> | 2022-02-08 22:31:16 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 17:02:01 +0700 |
commit | f19463bce8d4774871505064e803d78aa8e8292a (patch) | |
tree | c9610429d83dd7041036bde20f4a9e216aaf836d /system/usbview/doinst.sh | |
parent | eef9b4c6e965109b8e5dd4ae15bfbe5f9b797515 (diff) |
system/usbview: Updated for version 3.0
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/usbview/doinst.sh')
-rw-r--r-- | system/usbview/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/usbview/doinst.sh b/system/usbview/doinst.sh new file mode 100644 index 0000000000000..4a25de5e6fbd1 --- /dev/null +++ b/system/usbview/doinst.sh @@ -0,0 +1,10 @@ +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 + |