Offer to retry without having to type a command
This commit is contained in:
1 parent
f4b6222c1c
commit
32fc28de5e
1 file changed
+3
-4
@@ -37,11 +37,10 @@ catch_errors() {
|
|||||||
echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ "
|
echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ "
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
if [[ -z ${OMARCHY_USER-} ]]; then
|
if gum confirm "Retry installation?"; then
|
||||||
echo "You can retry by running: ~/.automated_script.sh"
|
./.automated_script.sh
|
||||||
else
|
else
|
||||||
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh || bash"
|
echo "You can retry later by running: ~/.automated_script.sh"
|
||||||
chroot_bash
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user