2022-09-02 19:22:31 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
if [ -f ~/.config/autostart/first-boot.desktop ]; then
|
|
|
|
rm ~/.config/autostart/first-boot.desktop
|
|
|
|
fi
|
|
|
|
|
|
|
|
if type qvm-run &> /dev/null; then
|
2022-10-25 22:00:21 -07:00
|
|
|
mkdir -p "$HOME/.local"
|
|
|
|
qvm-run --pass-io sys-firewall 'curl -sSL https://install.doctor/qubes' > "$HOME/.local/setup.sh" && bash "$HOME/.local/setup.sh"
|
2022-09-02 19:22:31 -07:00
|
|
|
elif [ -d '/Applications' ] && [ -d '/Users' ] && [ -d '/Library' ]; then
|
2022-09-26 22:57:29 -07:00
|
|
|
mkdir -p "$HOME/.local"
|
|
|
|
curl -sSL https://install.doctor/quickstart > "$HOME/.local/setup.sh" && bash "$HOME/.local/setup.sh"
|
2022-09-02 19:22:31 -07:00
|
|
|
elif [ -f '/etc/os-release' ]; then
|
2022-09-26 22:57:29 -07:00
|
|
|
mkdir -p "$HOME/.local"
|
|
|
|
curl -sSL https://install.doctor/quickstart > "$HOME/.local/setup.sh" && bash "$HOME/.local/setup.sh"
|
2022-09-02 19:22:31 -07:00
|
|
|
fi
|