From 3e13dcb17df9507c8c8e35a63b1efba12c8caac5 Mon Sep 17 00:00:00 2001 From: Botspot Date: Wed, 15 Sep 2021 12:03:04 -0500 Subject: [PATCH] gui: new runonce to install aria2c --- gui | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gui b/gui index 9425a64..0b11ded 100755 --- a/gui +++ b/gui @@ -108,8 +108,17 @@ runonce <<"EOF" sudo apt install -y curl fi EOF + +#install aria2c for faster downloading +runonce <<"EOF" + if ! command -v aria2c >/dev/null ;then + sudo apt install -y aria2 + fi +EOF ) & + + install() { app="$1" #one app name per line