Logging is having issues, so let's skip until sorted (#1009)
This commit is contained in:
parent
87467579f7
commit
3880c49469
@ -10,7 +10,6 @@ OMARCHY_INSTALL=~/.local/share/omarchy/install
|
|||||||
catch_errors() {
|
catch_errors() {
|
||||||
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
|
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
|
||||||
echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)"
|
echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)"
|
||||||
echo "See your installation log: ~/.local/state/omarchy/installation.log"
|
|
||||||
echo
|
echo
|
||||||
echo "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY"
|
echo "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY"
|
||||||
echo " "
|
echo " "
|
||||||
@ -49,9 +48,6 @@ show_subtext() {
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
# Start logging
|
|
||||||
source $OMARCHY_INSTALL/log/before-install.sh
|
|
||||||
|
|
||||||
# Install prerequisites
|
# Install prerequisites
|
||||||
source $OMARCHY_INSTALL/preflight/chroot.sh
|
source $OMARCHY_INSTALL/preflight/chroot.sh
|
||||||
source $OMARCHY_INSTALL/preflight/mirrorlist.sh
|
source $OMARCHY_INSTALL/preflight/mirrorlist.sh
|
||||||
@ -110,9 +106,6 @@ if ping -c5 omarchy.org &>/dev/null; then
|
|||||||
yay -Syu --noconfirm
|
yay -Syu --noconfirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Stop logging
|
|
||||||
source $OMARCHY_INSTALL/log/after-install.sh
|
|
||||||
|
|
||||||
# Reboot
|
# Reboot
|
||||||
show_logo laseretch 920
|
show_logo laseretch 920
|
||||||
show_subtext "You're done! So we're ready to reboot now..."
|
show_subtext "You're done! So we're ready to reboot now..."
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo -e "\n--- Pacman packages (after installation) ---"
|
|
||||||
echo "Total packages installed: $(pacman -Q | wc -l)"
|
|
||||||
pacman -Q
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Start logging a copy of everything sent to STDOUT and STDERR
|
|
||||||
mkdir -p ~/.local/state/omarchy/logs/
|
|
||||||
exec &> >(tee -a ~/.local/state/omarchy/logs/installation.log)
|
|
||||||
|
|
||||||
echo "--- System state before installation ---"
|
|
||||||
sudo pacman -S --noconfirm fastfetch
|
|
||||||
fastfetch
|
|
||||||
|
|
||||||
echo -e "\n--- System logs (journalctl / current boot) ---"
|
|
||||||
journalctl -b --no-pager
|
|
||||||
|
|
||||||
echo -e "\n--- Pacman packages (before installation) ---"
|
|
||||||
echo "Total packages installed: $(pacman -Q | wc -l)"
|
|
||||||
pacman -Q
|
|
Loading…
x
Reference in New Issue
Block a user