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