diff options
author | Bill Nottingham <notting@redhat.com> | 2009-04-07 10:41:10 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-04-07 10:41:40 -0400 |
commit | e4aae092b29efa2a1c78d2a02e61491c56c0050a (patch) | |
tree | 91620e0aa9c1f9cdd32a029984ff2b4a689d17b1 | |
parent | c1bb6fcd709c54d885c21fa97fd18c4f2e969c9d (diff) | |
download | initscripts-e4aae092b29efa2a1c78d2a02e61491c56c0050a.tar initscripts-e4aae092b29efa2a1c78d2a02e61491c56c0050a.tar.gz initscripts-e4aae092b29efa2a1c78d2a02e61491c56c0050a.tar.bz2 initscripts-e4aae092b29efa2a1c78d2a02e61491c56c0050a.tar.xz initscripts-e4aae092b29efa2a1c78d2a02e61491c56c0050a.zip |
Fix sort.
-rwxr-xr-x | prefdm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ exec kdm "$@" >/dev/null 2>&1 </dev/null exec wdm "$@" >/dev/null 2>&1 </dev/null exec xdm "$@" >/dev/null 2>&1 </dev/null -for pkg in $(LC_ALL=C rpm -q --qf "%{NAME}\n" --whatprovides "service(graphical-login)"| sort -u) ; do +for pkg in $(rpm -q --qf "%{NAME}\n" --whatprovides "service(graphical-login)"| LC_ALL=C sort -u) ; do dm=$(rpm -q --provides $pkg | awk '/^service\(graphical-login\)/ { print $3 ; exit }') if [ -n "$dm" ]; then exec $dm "$@" >/dev/null 2>&1 </dev/null |