Added final error checks on install-logs
This commit is contained in:
parent
16f3c44ec8
commit
4f7ff52523
|
|
@ -1,5 +1,8 @@
|
|||
## Changelogs
|
||||
|
||||
## 08 Sep 2024
|
||||
- Added final error checks on install-logs
|
||||
|
||||
## 07 Sep 2024
|
||||
- added pulseaudio check
|
||||
- added sof-firmware
|
||||
|
|
|
|||
|
|
@ -259,6 +259,8 @@ if [ "$dots" == "Y" ]; then
|
|||
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
printf "\n%.0s" {1..3}
|
||||
|
||||
# Error-checking section
|
||||
|
|
@ -287,8 +289,6 @@ if [ -d "$LOG_DIR" ]; then
|
|||
echo "${ERROR} Errors encountered during Installation. See $ERROR_FILE for details."
|
||||
else
|
||||
echo "${OK} No errors were found."
|
||||
# Optionally remove the error file if it's empty
|
||||
rm "$ERROR_FILE"
|
||||
fi
|
||||
else
|
||||
echo "Directory $LOG_DIR does not exist or could not be found."
|
||||
|
|
|
|||
Loading…
Reference in New Issue