diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-03-20 18:52:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-03-20 18:52:34 +0000 |
commit | 20a2c9427f1931505416ec9c9c751bbad90aa1a7 (patch) | |
tree | 42eb27f88bebd775ce4452d4eb764e32c4c39ad5 /liveinst/liveinst.xinit | |
parent | 6a17a281bc44c40d44c3608ffe511b5362958f08 (diff) | |
download | anaconda-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-x | liveinst/liveinst.xinit | 9 |
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} |