Skip to content

Commit

Permalink
Added final error checks on install-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
JaKooLit committed Sep 8, 2024
1 parent 16f3c44 commit 4f7ff52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelogs

## 08 Sep 2024
- Added final error checks on install-logs

## 07 Sep 2024
- added pulseaudio check
- added sof-firmware
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ if [ "$dots" == "Y" ]; then

fi

clear

printf "\n%.0s" {1..3}

# Error-checking section
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 4f7ff52

Please sign in to comment.