From 4f7ff525239e9cda29908f098ff3223c4da99e2a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 8 Sep 2024 11:40:30 +0900 Subject: [PATCH] Added final error checks on install-logs --- CHANGELOGS.md | 3 +++ install.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index d03de31..6982440 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## Changelogs +## 08 Sep 2024 +- Added final error checks on install-logs + ## 07 Sep 2024 - added pulseaudio check - added sof-firmware diff --git a/install.sh b/install.sh index b90f18e..96c1bdc 100755 --- a/install.sh +++ b/install.sh @@ -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."