Install source tarball dependencies first

This commit is contained in:
RichardG867
2021-11-13 02:37:47 -03:00
parent 697827d70a
commit 874f64a0be

View File

@@ -59,6 +59,12 @@ try_make() {
}
make_tar() {
# Install dependencies.
if ! which tar xz > /dev/null 2>&1
then
which apt-get > /dev/null 2>&1 && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y tar xz-utils
fi
# Determine the best supported compression type.
local compression_flag=
local compression_ext=