add -y
This commit is contained in:
parent
703eb8fa15
commit
2754f57143
|
@ -11,7 +11,7 @@ if [ -z "$title" ];then
|
|||
fi
|
||||
if [ -n "$pkgs" ];then
|
||||
apt-get update
|
||||
apt-get install $pkgs
|
||||
apt-get install -y $pkgs
|
||||
fi
|
||||
if [ -z "$command" ];then
|
||||
apt-get update
|
||||
|
|
Loading…
Reference in New Issue