summaryrefslogtreecommitdiffstats
path: root/liveinst/liveinst.xinit
blob: f4e47d7fe18d0a378f25b6dd57d4381655e3ace1 (plain)
1
2
3
4
5
6
7
8
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}