#!/bin/sh case "$1" in ""|-h|--help) echo "Usage: $0 directory [ ... ]" exit 1 ;; esac for dir in "$@"; do if [ ! -d "$dir" ]; then continue fi if [ -f "$dir"/index.theme ]; then # Generate or regenerate the cache if ! gtk-update-icon-cache --force --quiet "$dir"; then echo "WARNING: icon cache generation failed for $dir" fi else # No more index.theme, remove the cache if it exists rm -f "$dir"/icon-theme.cache rmdir -p --ignore-fail-on-non-empty "$dir" fi done exit 0
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
aspell-autobuildhash | File | 13.4 KB | 0755 |
|
escapesrc | File | 22.45 KB | 0755 |
|
genccode | File | 14.73 KB | 0755 |
|
gencmn | File | 14.73 KB | 0755 |
|
gennorm2 | File | 62.9 KB | 0755 |
|
gensprep | File | 26.8 KB | 0755 |
|
iconvconfig | File | 30.4 KB | 0755 |
|
icupkg | File | 23.1 KB | 0755 |
|
ispell-autobuildhash | File | 15.56 KB | 0755 |
|
libgvc6-config-update | File | 18.21 KB | 0755 |
|
remove-default-ispell | File | 2.86 KB | 0755 |
|
remove-default-wordlist | File | 2.86 KB | 0755 |
|
select-default-ispell | File | 3.23 KB | 0755 |
|
select-default-wordlist | File | 3.21 KB | 0755 |
|
update-default-aspell | File | 1 KB | 0755 |
|
update-default-ispell | File | 9.68 KB | 0755 |
|
update-default-wordlist | File | 7.5 KB | 0755 |
|
update-dictcommon-aspell | File | 1 KB | 0755 |
|
update-dictcommon-hunspell | File | 782 B | 0755 |
|
update-icon-caches | File | 596 B | 0755 |
|
zic | File | 62.32 KB | 0755 |
|