adwaita-icon-theme: make post-install succeed when gtk is not installed
gtk-update-icon-cache is not installed with gtk3, probably to avoid a conflict with gtk, but it is better to exit without an error (right?).
This commit is contained in:
parent
ced927c5d6
commit
83e4e5ce5e
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
gdk-pixbuf-query-loaders --update-cache
|
||||
gtk-update-icon-cache -q -t -f /usr/share/icons/Adwaita
|
||||
# gtk-update-icon-cache comes with gtk, not with gtk3
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q -t -f /usr/share/icons/Adwaita
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user