mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Omarchy install - capture install log (#868)
* Omarchy install log * Slim down the logging setup a bit, put it in a known directory, tell user about it * Stick to what was * Not needed here * Prefer the duplication --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@@ -17,6 +17,7 @@ catch_errors() {
|
||||
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
|
||||
fi
|
||||
|
||||
echo "See your installation log in ~/.local/state/omarchy/installation.log"
|
||||
echo "Get help from the community: https://discord.gg/tXFUdasqhY"
|
||||
}
|
||||
|
||||
@@ -33,6 +34,9 @@ show_subtext() {
|
||||
echo
|
||||
}
|
||||
|
||||
# Start logging
|
||||
source $OMARCHY_INSTALL/log/before-install.sh
|
||||
|
||||
# Install prerequisites
|
||||
source $OMARCHY_INSTALL/preflight/chroot.sh
|
||||
source $OMARCHY_INSTALL/preflight/mirrorlist.sh
|
||||
@@ -87,6 +91,9 @@ if ping -c5 omarchy.org &>/dev/null; then
|
||||
yay -Syu --noconfirm
|
||||
fi
|
||||
|
||||
# Stop logging
|
||||
source $OMARCHY_INSTALL/log/after-install.sh
|
||||
|
||||
# Reboot
|
||||
show_logo laseretch 920
|
||||
show_subtext "You're done! So we're ready to reboot now..."
|
||||
|
||||
Reference in New Issue
Block a user