New generic install method

This commit is contained in:
2023-03-21 14:27:35 -04:00
부모 144c4e3bad
커밋 7c8a324306

파일 보기

@@ -871,10 +871,11 @@ installMCGENERIC() {
grep -i "Depends:" control
tar xvf "data.tar.xz" &>/dev/null
# 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[*]})"
# Output to log file
for f in "${raw_files[@]}"; do
echo "/$f"
echo "/$f" >> "$SCRIPTDIR/.uninstall"
done
# Manually install files