summaryrefslogtreecommitdiffstats
path: root/liveinst/liveinst.xinit
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-11-03 15:57:08 -0500
committerJeremy Katz <katzj@redhat.com>2008-11-03 15:57:57 -0500
commit68b13225d80a22afc830018e7d4434e6c4868505 (patch)
treec5fcce21e37c874f00ce92127d52674a5dac9072 /liveinst/liveinst.xinit
parent9f0c99dca3fbadec5337b713ca04a9072a01b3f4 (diff)
downloadanaconda-68b13225d80a22afc830018e7d4434e6c4868505.tar.gz
anaconda-68b13225d80a22afc830018e7d4434e6c4868505.tar.xz
anaconda-68b13225d80a22afc830018e7d4434e6c4868505.zip
Don't set up the launcher for the installer on XO
We don't support installing to the internal nand of the XO, so we shouldn't set up the desktop file
Diffstat (limited to 'liveinst/liveinst.xinit')
-rwxr-xr-xliveinst/liveinst.xinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/liveinst/liveinst.xinit b/liveinst/liveinst.xinit
index d9d80335b..afecae3b4 100755
--- a/liveinst/liveinst.xinit
+++ b/liveinst/liveinst.xinit
@@ -2,6 +2,10 @@
# Set up a launcher on the desktop for the live installer if we're on
# a live CD
+if [ \`grep -c Geode /proc/cpuinfo\` -ne 0 ]; then
+ exit 0
+fi
+
if [ -b /dev/live-osimg ]; then
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cp /usr/share/applications/liveinst.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}"