diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2020-01-27 06:47:43 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-01 09:00:30 +0700 |
commit | d5c49366ba1409aacd92eba54fbad88fceb58640 (patch) | |
tree | e76146d3ac3a53d12a8d0295e4740303fa457685 /system/fwupd/doinst.sh | |
parent | 63852442b57b6aa5e3e160e1b79c6fd7557ac713 (diff) | |
download | slackbuilds-d5c49366ba1409aacd92eba54fbad88fceb58640.tar.gz slackbuilds-d5c49366ba1409aacd92eba54fbad88fceb58640.tar.xz |
system/fwupd: Fix building without uefi support.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/fwupd/doinst.sh')
-rw-r--r-- | system/fwupd/doinst.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system/fwupd/doinst.sh b/system/fwupd/doinst.sh index 544d2273cef..835a554895a 100644 --- a/system/fwupd/doinst.sh +++ b/system/fwupd/doinst.sh @@ -22,4 +22,9 @@ config etc/fwupd/remotes.d/vendor-directory.conf.new config etc/fwupd/remotes.d/fwupd-tests.conf.new config etc/fwupd/daemon.conf.new config etc/fwupd/redfish.conf.new -config etc/fwupd/uefi.conf.new + +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 |