aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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