Commit e65c6081 authored by nvmnghia's avatar nvmnghia

Add `-y` to `apt`

parent bc0bf14d
......@@ -26,9 +26,9 @@ sed -i.bak "s/BgColor=.*/BgColor=#ffffff/g" ${PCMAN_SETTINGS}
if ! [ -x "$(command -v google-chrome)" ]; then
echo "Install Chrome"
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
apt -y update
apt -y install google-chrome-stable
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment