mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
14 lines
408 B
Bash
Executable File
14 lines
408 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Check the update log for known failure conditions
|
|
|
|
update_log="/tmp/omarchy-update.log"
|
|
|
|
# Check for initramfs generation failure
|
|
if grep -q "Updating linux initcpios" "$update_log"; then
|
|
if ! grep -q "Initcpio image generation successful" "$update_log"; then
|
|
echo -e '\e[31mError: Initramfs generation may have failed. Review logs before restart.\e[0m'
|
|
echo
|
|
fi
|
|
fi
|