Logging is having issues, so let's skip until sorted (#1009)

This commit is contained in:
David Heinemeier Hansson 2025-08-23 18:50:32 +02:00 committed by GitHub
parent 87467579f7
commit 3880c49469
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 28 deletions

View File

@ -10,7 +10,6 @@ OMARCHY_INSTALL=~/.local/share/omarchy/install
catch_errors() {
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)"
echo "See your installation log: ~/.local/state/omarchy/installation.log"
echo
echo "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY"
echo " "
@ -49,9 +48,6 @@ 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
@ -110,9 +106,6 @@ 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..."

View File

@ -1,5 +0,0 @@
#!/bin/bash
echo -e "\n--- Pacman packages (after installation) ---"
echo "Total packages installed: $(pacman -Q | wc -l)"
pacman -Q

View File

@ -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