Bug 152210
| Summary: | system-config-keyboard has errors in %post and %postun scripts | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> |
| Component: | system-config-keyboard | Assignee: | Paul Nasrat <nobody+pnasrat> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | clydekunkel7734 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.2.5-3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-03-29 14:56:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 152229 has been marked as a duplicate of this bug. *** Fixed in -3, closing now. As of 3-29-05 rawhide, the error is now: Cleanup : system-config-keyboard ####################### [59/87] /var/tmp/rpm-tmp.49858: line 2: [-x: command not found Use a synced mirror which has Rawhide of today, then everything will work fine. |
Description of problem: system-config-keyboard has errors in %post and %postun scripts. Version-Release number of selected component (if applicable): system-config-keyboard-1.2.5-2 How reproducible: Everytime, install or uninstall the package. Actual results: The current %post and %postun sections should be changed to: touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache %{_datadir}/icons/hicolor >> /dev/null fi The changes are: - "[ -x" instead of "[-x]", which fails - piping the output of gtk-update-icon-cache to /dev/null Expected results: This change or better...