From 1d66b43a26bf24a1ee6458de9d3494ac87ee0891 Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 19 Mar 2023 11:47:31 -0400 Subject: [PATCH] Only copy files from deb --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 94f4050..2ac03e3 100755 --- a/installJRMC +++ b/installJRMC @@ -863,11 +863,11 @@ installMCGENERIC() { ar x "$MCDEB" tar xvf "control.tar.xz" echo "You must install the following dependencies manually:" - cat control + grep -i control "Depends:" tar xvf "data.tar.xz" pushd data &>/dev/null || return # Add list of files to log for uninstall - find . -mindepth 1 >> "$SCRIPTDIR/.uninstall" + find . -mindepth 1 -type f >> "$SCRIPTDIR/.uninstall" # Manually install files sudo cp -a ./etc/* /etc/ sudo cp -a ./usr/* /usr/