From c8c610b3ebccccd9317b09f1b99cbda597d49671 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 22 Mar 2023 10:14:03 -0400 Subject: [PATCH] Fix uninstall list --- installJRMC | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 5f52a77..f8f4533 100755 --- a/installJRMC +++ b/installJRMC @@ -872,7 +872,10 @@ installMCGENERIC() { grep -i "Depends:" control readarray -t raw_files < <(tar xvf data.tar.xz) # Output to log file - echo "${raw_files[@]/#./}" >> "$SCRIPTDIR/.uninstall" + for f in "${raw_files[@]/#./}"; do + echo "$f" >> "$SCRIPTDIR/.uninstall" + done + #echo "${raw_files[@]/#./}" >> "$SCRIPTDIR/.uninstall" # Manually install files for f in "${raw_files[@]}"; do execute sudo cp -a "$f" "${f/#./}"