Bug 549551 - Minor xinit script improvements
Summary: Minor xinit script improvements
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-xinit
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-21 23:06 UTC by Ville Skyttä
Modified: 2018-04-11 11:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-29 15:33:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Minor xinit script improvements (4.38 KB, patch)
2009-12-21 23:06 UTC, Ville Skyttä
mcepl: review+
Details | Diff

Description Ville Skyttä 2009-12-21 23:06:46 UTC
Created attachment 379730 [details]
Minor xinit script improvements

The attached patch does the following:

- Eliminate dependency on which.
- Change Xclients, Xsession and xinitrc-common to make fewer stat calls.
- Install xinitrc-common non-executable.

Comment 1 Matěj Cepl 2010-01-12 10:45:38 UTC
Comment on attachment 379730 [details]
Minor xinit script improvements

I think I would rather see review of some parts by Søren (e.g., isn't -d "$XCLIENTS_D" a good thing to have?).

Comment 2 Ville Skyttä 2010-01-12 20:53:27 UTC
(In reply to comment #1)

> isn't -d "$XCLIENTS_D" a good thing to have?

In both cases where I dropped it the same "if" statement also always tests '-x "$XCLIENTS_D/Xclients.$1.sh"' which is required to be true or else the whole statement evaluates to false, and if $XCLIENTS_D is not a dir (or a symlink to one, but that's transparent when using -d), that test can't evaluate to true.  So I don't know what the additional -d test buys us.

Comment 3 Matěj Cepl 2010-01-29 15:33:58 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=153532 built.

Comment 4 Fedora Update System 2010-01-29 16:14:12 UTC
xorg-x11-xinit-1.0.9-14.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/xorg-x11-xinit-1.0.9-14.fc12

Comment 5 Fedora Update System 2010-02-18 22:43:27 UTC
xorg-x11-xinit-1.0.9-14.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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