Skip to content

Commit

Permalink
Adding scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zdrummond committed Jul 16, 2019
1 parent 785da8e commit 60b04ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 6 additions & 0 deletions tools/update-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
echo "Make sure your using sudo!!"
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get autoclean -`
10 changes: 1 addition & 9 deletions ubuntu_18.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@

# Apply latest patches
mkdir ~/tools
touch ~/tools/update-all.sh
cat > ~/tools/update-all.sh <<EOF
echo "Make sure your using sudo!!"
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get autoclean -y
EOF
curl -fLo ~/tools/update-all.sh https://raw.githubusercontent.com/zdrummond/machine_setup/tools/update-all.sh
chmod +x ~/tools/update-all.sh


Expand Down

0 comments on commit 60b04ed

Please sign in to comment.