mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
11 lines
213 B
Text
11 lines
213 B
Text
|
#!/bin/bash
|
||
|
|
||
|
while read -r f; do
|
||
|
if [[ -e ${f}index.theme ]]; then
|
||
|
gtk-update-icon-cache -q "$f"
|
||
|
elif [[ -d $f ]]; then
|
||
|
rm -f "${f}icon-theme.cache"
|
||
|
rmdir --ignore-fail-on-non-empty "$f"
|
||
|
fi
|
||
|
done
|