New generic install method
This commit is contained in:
@@ -865,11 +865,11 @@ 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
|
||||||
execute ar x "$MCDEB"
|
ar x "$MCDEB" &>/dev/null
|
||||||
execute tar xvf "control.tar.xz"
|
tar xvf "control.tar.xz" &>/dev/null
|
||||||
echo "You must install the following dependencies manually:"
|
echo "You must install the following dependencies manually:"
|
||||||
grep -i "Depends:" control
|
grep -i "Depends:" control
|
||||||
execute tar xvf "data.tar.xz"
|
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[*]})"
|
||||||
|
|||||||
Reference in New Issue
Block a user