Repository URL to install this package:
|
Version:
13.0.6-5pclos ▾
|
#!/bin/sh
###
# Wrapper for running calamares on Debian live media
###
# Testing for network as calamares needs a connection
wget -q --tries=3 --timeout=10 --delete-after "https://www.google.com/"
if [ $? -eq 0 ]; then
# Access control to run calamares as root for xwayland
sudo mv /etc/fstab /etc/fstab.orig.calamares
xhost +si:localuser:root
pkexec calamares
xhost -si:localuser:root
else
yad --width=450 --height=100 --fixed --center \
--text="\nNo Network Installation Connection Found!\nConnect to the network for Installation" \
--window-icon=gtk-stop \
--image=gtk-stop \
--title="Calamares Installer" \
--button=gtk-cancel
fi