summaryrefslogtreecommitdiffstats
path: root/liveinst/liveinst.xinit
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-03-20 18:52:34 +0000
committerJeremy Katz <katzj@redhat.com>2007-03-20 18:52:34 +0000
commit20a2c9427f1931505416ec9c9c751bbad90aa1a7 (patch)
tree42eb27f88bebd775ce4452d4eb764e32c4c39ad5 /liveinst/liveinst.xinit
parent6a17a281bc44c40d44c3608ffe511b5362958f08 (diff)
downloadanaconda-20a2c9427f1931505416ec9c9c751bbad90aa1a7.tar.gz
anaconda-20a2c9427f1931505416ec9c9c751bbad90aa1a7.tar.xz
anaconda-20a2c9427f1931505416ec9c9c751bbad90aa1a7.zip
2007-03-20 Jeremy Katz <katzj@redhat.com>
* liveinst/: Add bits for live CD hard drive installation kick off to anaconda for now. * anaconda.spec: Likewise. * Makefile: Likewise.
Diffstat (limited to 'liveinst/liveinst.xinit')
-rwxr-xr-xliveinst/liveinst.xinit9
1 files changed, 9 insertions, 0 deletions
diff --git a/liveinst/liveinst.xinit b/liveinst/liveinst.xinit
new file mode 100755
index 000000000..f4e47d7fe
--- /dev/null
+++ b/liveinst/liveinst.xinit
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Set up a launcher on the desktop for the live installer if we're on
+# a live CD
+
+test -f /.livecd-configured || exit 0
+
+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}