mirror of
https://github.com/byReqz/gotty-docker.git
synced 2024-11-24 16:34:56 +00:00
add -y
This commit is contained in:
parent
703eb8fa15
commit
2754f57143
@ -11,7 +11,7 @@ if [ -z "$title" ];then
|
|||||||
fi
|
fi
|
||||||
if [ -n "$pkgs" ];then
|
if [ -n "$pkgs" ];then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install $pkgs
|
apt-get install -y $pkgs
|
||||||
fi
|
fi
|
||||||
if [ -z "$command" ];then
|
if [ -z "$command" ];then
|
||||||
apt-get update
|
apt-get update
|
||||||
|
Loading…
Reference in New Issue
Block a user