Add DISABLE_ICON_CACHE_UPDATE env variable

This allows override the default behavior and disable updating
the icon caches
This commit is contained in:
Sergei Eremenko 2021-10-15 20:54:31 +03:00
parent 49a949e40e
commit d3d4f0c28b
No known key found for this signature in database
GPG key ID: AB6D54C1C16D2507

View file

@ -357,6 +357,8 @@ delete_icon_caches() {
}
update_icon_cache() {
[ -z "$DISABLE_ICON_CACHE_UPDATE" ] || return 0
delete_icon_caches
verbose "Rebuilding icon cache for '$THEME_NAME' ..."