From c85b1530139c893e14f42e38e17e692058ab2edf Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:21:23 +0900 Subject: [PATCH] Update 01-pre-cleanup.sh --- install-scripts/01-pre-cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh index 698b9a8..1de3505 100644 --- a/install-scripts/01-pre-cleanup.sh +++ b/install-scripts/01-pre-cleanup.sh @@ -38,7 +38,7 @@ for PKG_NAME in "${PACKAGES[@]}"; do # Check if the file exists if [[ -f "$FILE_PATH" ]]; then # Delete the file - rm "$FILE_PATH" + sudo rm "$FILE_PATH" echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG" else echo "File not found: $FILE_PATH" 2>&1 | tee -a "$LOG"