New generic install method

This commit is contained in:
2023-03-21 14:27:35 -04:00
parent 144c4e3bad
commit 7c8a324306

View File

@@ -871,10 +871,11 @@ installMCGENERIC() {
grep -i "Depends:" control grep -i "Depends:" control
tar xvf "data.tar.xz" &>/dev/null tar xvf "data.tar.xz" &>/dev/null
# List of files to install # List of files to install
raw_files=("$(find etc/ usr/ -mindepth 1 -type f)") #raw_files=("$(find etc/ usr/ -mindepth 1 -type f)")
debug "raw_files=(${raw_files[*]})" debug "raw_files=(${raw_files[*]})"
# Output to log file # Output to log file
for f in "${raw_files[@]}"; do for f in "${raw_files[@]}"; do
echo "/$f"
echo "/$f" >> "$SCRIPTDIR/.uninstall" echo "/$f" >> "$SCRIPTDIR/.uninstall"
done done
# Manually install files # Manually install files