From 61b86d3b7cb76025eeffb6c838bdbf6d85f001af Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 21 Mar 2023 14:21:59 -0400 Subject: [PATCH] New generic install method --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index a921a39..cdbf38b 100755 --- a/installJRMC +++ b/installJRMC @@ -872,13 +872,14 @@ installMCGENERIC() { execute tar xvf "data.tar.xz" # List of files to install raw_files=("$(find etc/ usr/ -mindepth 1 -type f)") + debug "raw_files=(${raw_files[*]})" # Output to log file for f in "${raw_files[@]}"; do echo "/$f" >> "$SCRIPTDIR/.uninstall" done # Manually install files for f in "${raw_files[@]}"; do - execute sudo cp -a "$f" / + execute sudo cp -a "$f" "/" done popd &>/dev/null || return execute rm -rf "$extract_dir"