mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
script: apt-get update before apt-get install in dependency_check()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user