mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 11:04:29 +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}"
|
echo -e "${cyan}● $element ${default}"
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
sudo apt-get install ${inst[@]} -y
|
sudo apt-get update && sudo apt-get install ${inst[@]} -y
|
||||||
ok_msg "Dependencies installed!"
|
ok_msg "Dependencies installed!"
|
||||||
#clearing the array
|
#clearing the array
|
||||||
unset inst
|
unset inst
|
||||||
|
|||||||
Reference in New Issue
Block a user