Update ublue-firstboot

This commit is contained in:
Jorge O. Castro
2022-12-08 18:35:50 -05:00
committed by GitHub
parent e0e3bf2520
commit ef1f18b9c7

View File

@@ -5,6 +5,7 @@ if test -e "$HOME"/.config/ublue/firstboot-done; then
exit 0 exit 0
fi fi
(
echo "# Waiting for Internet connection" echo "# Waiting for Internet connection"
until /usr/bin/ping -q -c 1 flathub.org; do sleep 1; done until /usr/bin/ping -q -c 1 flathub.org; do sleep 1; done
echo "00" echo "00"
@@ -146,6 +147,10 @@ echo "# Reticulating Final Splines"
mkdir -p "$HOME"/.config/ublue/ mkdir -p "$HOME"/.config/ublue/
touch "$HOME"/.config/ublue/firstboot-done touch "$HOME"/.config/ublue/firstboot-done
) |
zenity --progress --title="uBlue Desktop Firstboot" --percentage=0 --auto-close --no-cancel --width=300
if [ "$?" != 0 ] ; then if [ "$?" != 0 ] ; then
zenity --error \ zenity --error \
--text="Firstboot Configuration Error" --text="Firstboot Configuration Error"