Only copy files from deb

This commit is contained in:
2023-03-19 11:47:31 -04:00
parent 185f606a38
commit 1d66b43a26

View File

@@ -863,11 +863,11 @@ installMCGENERIC() {
ar x "$MCDEB" ar x "$MCDEB"
tar xvf "control.tar.xz" tar xvf "control.tar.xz"
echo "You must install the following dependencies manually:" echo "You must install the following dependencies manually:"
cat control grep -i control "Depends:"
tar xvf "data.tar.xz" tar xvf "data.tar.xz"
pushd data &>/dev/null || return pushd data &>/dev/null || return
# Add list of files to log for uninstall # Add list of files to log for uninstall
find . -mindepth 1 >> "$SCRIPTDIR/.uninstall" find . -mindepth 1 -type f >> "$SCRIPTDIR/.uninstall"
# Manually install files # Manually install files
sudo cp -a ./etc/* /etc/ sudo cp -a ./etc/* /etc/
sudo cp -a ./usr/* /usr/ sudo cp -a ./usr/* /usr/