diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-03-23 20:09:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-03-23 20:09:37 +0000 |
commit | d3d4ce9615104d6191b91c6e418d88ba26ddc15f (patch) | |
tree | ffae0e54508875d4665e2ae31971a59c47e7ba38 /liveinst/liveinst.xinit | |
parent | 7cf2e22659a35985311eff93ce0ca305ed221cf9 (diff) | |
download | anaconda-d3d4ce9615104d6191b91c6e418d88ba26ddc15f.tar.gz anaconda-d3d4ce9615104d6191b91c6e418d88ba26ddc15f.tar.xz anaconda-d3d4ce9615104d6191b91c6e418d88ba26ddc15f.zip |
2007-03-23 Jeremy Katz <katzj@redhat.com>
* liveinst/liveinst.xinit: Don't cause xinit to exit
Diffstat (limited to 'liveinst/liveinst.xinit')
-rwxr-xr-x | liveinst/liveinst.xinit | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/liveinst/liveinst.xinit b/liveinst/liveinst.xinit index f4e47d7fe..a4da9074a 100755 --- a/liveinst/liveinst.xinit +++ b/liveinst/liveinst.xinit @@ -2,8 +2,7 @@ # 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} +if [ -f /.livecd-configured ]; 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} +fi |