summaryrefslogtreecommitdiffstats
path: root/liveinst
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-11-17 10:34:50 -0500
committerJeremy Katz <katzj@redhat.com>2008-11-17 10:35:31 -0500
commit80e813bfdabb5e92d49227ab8faa2e586445f082 (patch)
tree3354ab5458bb7c5b9c6981487cb2f2ab82e60984 /liveinst
parent231e0876d635fc82343513b7e6c696fd9a51e51b (diff)
downloadanaconda-80e813bfdabb5e92d49227ab8faa2e586445f082.tar.gz
anaconda-80e813bfdabb5e92d49227ab8faa2e586445f082.tar.xz
anaconda-80e813bfdabb5e92d49227ab8faa2e586445f082.zip
More shell script syntax fixing
Diffstat (limited to 'liveinst')
-rwxr-xr-xliveinst/liveinst.xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/liveinst/liveinst.xinit b/liveinst/liveinst.xinit
index 5913f230d..d41d3e61e 100755
--- a/liveinst/liveinst.xinit
+++ b/liveinst/liveinst.xinit
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Set up a launcher on the desktop for the live installer if we're on
# a live CD
-if grep -q Geode /proc/cpuinfo ; then
+if [ `grep -c Geode /proc/cpuinfo` -ne 0 ]; then
exit 0
fi