aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-11 13:44:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-11 13:44:24 -0300
commit29f983f9ae965e7c02f039bd1e21ca916ded77e7 (patch)
treeadd8e15f8dc03ffa9ce238b6eb4f24e356adec45
parentcbd5dde872131e999444b42b6211c2e719b628ef (diff)
downloadkvmx-29f983f9ae965e7c02f039bd1e21ca916ded77e7.tar.gz
kvmx-29f983f9ae965e7c02f039bd1e21ca916ded77e7.tar.bz2
Provision: upgrade packages
-rwxr-xr-xprovision/desktop-basic2
-rwxr-xr-xprovision/development2
-rwxr-xr-xprovision/webserver1
3 files changed, 3 insertions, 2 deletions
diff --git a/provision/desktop-basic b/provision/desktop-basic
index dd5531f..dcff04a 100755
--- a/provision/desktop-basic
+++ b/provision/desktop-basic
@@ -42,7 +42,7 @@ EOF
# Dependencies
sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list
-sudo apt-get update
+sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean
$APT_INSTALL git
# Tools
diff --git a/provision/development b/provision/development
index 08b4577..3463ec2 100755
--- a/provision/development
+++ b/provision/development
@@ -28,7 +28,7 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y"
# Dependencies
sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list
-sudo apt-get update
+sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean
$APT_INSTALL git
# Tools
diff --git a/provision/webserver b/provision/webserver
index cf4aacf..650452f 100755
--- a/provision/webserver
+++ b/provision/webserver
@@ -18,4 +18,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean
sudo apt-get install -y apache2