Description of problem: rpm -q --scripts system-config-rootpassword if [-x /usr/bin/gtk-update-icon-cache ]; then <------ ERROR gtk-update-icon-cache /usr/share/icons/hicolor fi postuninstall scriptlet (using /bin/sh): touch --no-create /usr/share/icons/hicolor if [-x /usr/bin/gtk-update-icon-cache ]; then <------ ERROR gtk-update-icon-cache /usr/share/icons/hicolor fi Need a space before -xif Should be: [ -x /usr/bin/gtk-update-icon-cache ]; then Version-Release number of selected component (if applicable): system-config-rootpassword-1.1.6-2
And do a ">> /dev/null" to avoid output of gtk-update-icon-cache...