diff options
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} |