Fix deb extraction
This commit is contained in:
@@ -861,10 +861,10 @@ installMCGENERIC() {
|
|||||||
declare extract_dir && extract_dir="$(mktemp -d)"
|
declare extract_dir && extract_dir="$(mktemp -d)"
|
||||||
pushd "$extract_dir" &>/dev/null || return
|
pushd "$extract_dir" &>/dev/null || return
|
||||||
ar x "$MCDEB"
|
ar x "$MCDEB"
|
||||||
tar xvf "control.tar.gz"
|
tar xvf "control.tar.xz"
|
||||||
echo "You must install the following dependencies manually:"
|
echo "You must install the following dependencies manually:"
|
||||||
cat control
|
cat control
|
||||||
tar xvf "data.tar.gz"
|
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 >> "$SCRIPTDIR/.uninstall"
|
||||||
|
|||||||
Reference in New Issue
Block a user