Fix uninstall list

This commit is contained in:
2023-03-22 10:14:03 -04:00
parent 2c7331bed9
commit c8c610b3eb

View File

@@ -872,7 +872,10 @@ installMCGENERIC() {
grep -i "Depends:" control grep -i "Depends:" control
readarray -t raw_files < <(tar xvf data.tar.xz) readarray -t raw_files < <(tar xvf data.tar.xz)
# Output to log file # 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 # Manually install files
for f in "${raw_files[@]}"; do for f in "${raw_files[@]}"; do
execute sudo cp -a "$f" "${f/#./}" execute sudo cp -a "$f" "${f/#./}"