From 1c2abec8a70d5b482ee1909edbfa0cd0589747a2 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Fri, 22 Nov 2024 09:31:53 +0800 Subject: [PATCH] Helpers fixes --- helpers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers b/helpers index 2cb2065..f834a3f 100644 --- a/helpers +++ b/helpers @@ -9,7 +9,7 @@ installed2() { } apt_install() { - sudo apt install -y --autoremove "$*" + sudo apt install -y --autoremove $* } require() { @@ -21,7 +21,7 @@ require() { done if [ ${#sw[@]} -gt 0 ]; then info "This packages will be installed in your system:\n${sw[*]}" - apt_install "${sw[*]}" + apt_install ${sw[*]} [ $? -gt 0 ] && die "installation cancelled" 201 fi }