summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/postinst-qa-check.d/50xdg-utils12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/postinst-qa-check.d/50xdg-utils b/bin/postinst-qa-check.d/50xdg-utils
index 9945cc336..9a7c036e6 100644
--- a/bin/postinst-qa-check.d/50xdg-utils
+++ b/bin/postinst-qa-check.d/50xdg-utils
@@ -46,12 +46,12 @@ xdg_desktop_database_check() {
fi
}
-gnome2_icon_cache_check() {
+xdg_icon_cache_check() {
type -P gtk-update-icon-cache &>/dev/null || return
local d f all_files=() missing
for d in usr/share/icons/*/; do
- # gnome2_icon_cache_update updates only themes with an index
+ # xdg_icon_cache_update updates only themes with an index
[[ -f ${d}/index.theme ]] || continue
local files=() find_args=(
@@ -91,10 +91,10 @@ gnome2_icon_cache_check() {
# The eqatag call is prohibitively expensive if the cache is
# missing and there are a large number of files.
if [[ -z ${missing} && ${all_files[@]} ]]; then
- eqawarn "QA Notice: new icons were found installed but GTK+ icon cache"
+ eqawarn "QA Notice: new icons were found installed but icon cache"
eqawarn "has not been updated:"
- eqatag -v gnome2-utils.icon-cache "${all_files[@]/#//}"
- eqawarn "Please make sure to call gnome2_icon_cache_update()"
+ eqatag -v xdg-utils.icon-cache "${all_files[@]/#//}"
+ eqawarn "Please make sure to call xdg_icon_cache_update()"
eqawarn "in pkg_postinst() and pkg_postrm() phases of appropriate pkgs."
fi
}
@@ -145,7 +145,7 @@ xdg_mimeinfo_database_check() {
xdg_utils_postinst_check() {
cd "${EROOT:-/}" || die
xdg_desktop_database_check
- gnome2_icon_cache_check
+ xdg_icon_cache_check
xdg_mimeinfo_database_check
}