From 735fcfb9a848e603732cc080f29d34844a11cfa5 Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:09:08 -0400 Subject: [PATCH] Update preinst --- ipk-source/sdxpinn-mount-fix/CONTROL/preinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipk-source/sdxpinn-mount-fix/CONTROL/preinst b/ipk-source/sdxpinn-mount-fix/CONTROL/preinst index 8b52a2d..6196203 100644 --- a/ipk-source/sdxpinn-mount-fix/CONTROL/preinst +++ b/ipk-source/sdxpinn-mount-fix/CONTROL/preinst @@ -4,6 +4,8 @@ DETECTED_PACKAGES_FILE="/tmp/detected_packages.tmp" LIST_FILE_DELETED=false +# Clear temp file before begining +rm -f "$DETECTED_PACKAGES_FILE" # Function to check if a specific bundled package is already installed and delete its list file detect_and_remove_list_files() { local package_name="$1"