Add -y to all update calls

This commit is contained in:
Tim 2017-03-16 12:30:54 +01:00 committed by Tim van Veenendaal
parent a87bda8961
commit 0e54e5d7f0

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
echo -e "\n########## START UPDATE ##########\n" echo -e "\n########## START UPDATE ##########\n"
sudo apt-get update sudo apt-get update -y
echo -e "\n########## START UPGRADE ##########\n" echo -e "\n########## START UPGRADE ##########\n"
sudo apt-get upgrade sudo apt-get upgrade -y
echo -e "\n########## START DIST-UPGRADE ##########\n" echo -e "\n########## START DIST-UPGRADE ##########\n"
sudo apt-get dist-upgrade sudo apt-get dist-upgrade -y
echo -e "\n########## START AUTOCLEAN ##########\n" echo -e "\n########## START AUTOCLEAN ##########\n"
sudo apt-get autoclean sudo apt-get autoclean -y
echo -e "\n########## START AUTOREMOVE ##########\n" echo -e "\n########## START AUTOREMOVE ##########\n"
sudo apt-get autoremove sudo apt-get autoremove -y