6bc5671491
Apply: git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1 And resolve conflicts. QubesOS/qubes-issues#2574
15 lines
574 B
Bash
Executable File
15 lines
574 B
Bash
Executable File
#!/bin/bash
|
|
# Set up a launcher on the desktop for the live installer if we're on
|
|
# a live CD
|
|
|
|
if [ ! \( -b /dev/mapper/live-base -o -b /dev/mapper/live-osimg-min \) ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# Prevents breakage if the hostname is changed before or during the install
|
|
# Also lets us run (with the X11 backend) on Wayland
|
|
[ -x /usr/bin/xhost ] && xhost +si:localuser:root > /dev/null 2>&1
|
|
|
|
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}"
|