Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 152209 - system-config-date has a errors in %post and %postun scripts
system-config-date has a errors in %post and %postun scripts
Product: Fedora
Classification: Fedora
Component: system-config-date (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
: 152243 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-03-26 08:43 EST by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.7.15-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-29 09:56:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2005-03-26 08:43:37 EST
Description of problem:
system-config-date has a errors in %post and %postun scripts.

Version-Release number of selected component (if applicable):

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

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...
Comment 1 Warren Togami 2005-03-27 16:30:32 EST
*** Bug 152243 has been marked as a duplicate of this bug. ***
Comment 2 Robert Scheck 2005-03-29 09:56:03 EST
Fixed in -3, closing now.
Comment 3 Clyde E. Kunkel 2005-03-29 11:20:08 EST
As of 3-29-05 rawhide, the error is now:
  Cleanup   : system-config-date           ####################### [84/87]
/var/tmp/rpm-tmp.513: line 2: [-x: command not found

Note You need to log in before you can comment on or make changes to this bug.