From 679e6da01ea67d4311ade408da4ce92beb5cf1ad Mon Sep 17 00:00:00 2001 From: Levon Date: Sun, 28 Jan 2024 16:05:30 -0600 Subject: [PATCH] nala support --- scripts/install_deps.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 0ecf0c3..244e8b8 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -1,8 +1,11 @@ #!/bin/bash -sudo apt-get update +# test for nala installation +which nala && PKG_MNG="nala" || PKG_MNG="apt-get" -sudo apt-get install autoconf automake build-essential cmake git-core \ +sudo "$PKG_MNG" update + +sudo "$PKG_MNG" install autoconf automake build-essential cmake git-core \ libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \ libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \ texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\