19 lines
705 B
Text
19 lines
705 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -f /etc/lightdm/lightdm.conf.bak ]; then
|
||
|
sudo mv /etc/lightdm/lightdm.conf.bak /etc/lightdm/lightdm.conf
|
||
|
fi
|
||
|
|
||
|
if [ -f ~/.config/autostart/first-boot.desktop ]; then
|
||
|
rm ~/.config/autostart/first-boot.desktop
|
||
|
fi
|
||
|
|
||
|
if type qvm-run &> /dev/null; then
|
||
|
qvm-run --pass-io personal "curl -sSL https://install.doctor/qubes" > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||
|
elif [ -d '/Applications' ] && [ -d '/Users' ] && [ -d '/Library' ]; then
|
||
|
curl -sSL https://install.doctor/quickstart > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||
|
elif [ -f '/etc/os-release' ]; then
|
||
|
curl -sSL https://install.doctor/quickstart > "$HOME/setup.sh" && bash "$HOME/setup.sh"
|
||
|
fi
|
||
|
rm -f "$HOME/setup.sh"
|