commit b88e76497c09be4c835ec392cddbc6b02227212d
parent 96b3b38affcd81920b1cb3071550d61ae2a390de
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 21 Feb 2017 00:09:00 +0100
autoclean autoremove
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upgrades b/upgrades
@@ -10,7 +10,7 @@ do
"echo \"=== upgrading $m ===\n\n\";
~/bin/wake $m;
sleep 5;
- ssh -t $m 'sudo apt-get update && sudo apt-get dist-upgrade';
+ ssh -t $m 'sudo apt-get autoclean && sudo apt-get autoremove && sudo apt-get update && sudo apt-get dist-upgrade';
echo \"\n\n=== testing connection to $m ... ===\n\n\";
ssh -t $m 'echo this is fine';
echo \"\n\n=== done upgrading $m ===\n\n\";