Skip to content

Commit

Permalink
Add -y to apt-get installs
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsonhacks committed Apr 26, 2018
1 parent a4fe332 commit ae6ba4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installROS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ tput sgr0
# Here we loop through any packages passed on the command line
# Install packages ...
for package in "${packages[@]}"; do
sudo apt-get install $package
sudo apt-get install $package -y
done

# Add Individual Packages here
Expand Down Expand Up @@ -137,6 +137,6 @@ echo "Installing rosinstall tools"
tput sgr0
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential -y
tput setaf 2
echo "Install finished"
echo "Installation complete!"
tput sgr0

0 comments on commit ae6ba4d

Please sign in to comment.