diff --git a/scripts/functions.sh b/scripts/functions.sh index a6148c4..745c774 100755 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -291,7 +291,7 @@ dependency_check(){ echo -e "${cyan}● $element ${default}" done echo - sudo apt-get install ${inst[@]} -y + sudo apt-get update && sudo apt-get install ${inst[@]} -y ok_msg "Dependencies installed!" #clearing the array unset inst