From 1a7447e541024604a20c68a19346c5c1730779dd Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sat, 27 Jun 2020 21:41:42 -0500 Subject: [PATCH] Clean apt cache after each upgrade --- rootfs/standard/usr/bin/mynode_post_upgrade.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 79da6b1b..cd629e0a 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -569,6 +569,9 @@ rm -f /etc/update-motd.d/41-armbian-config || true rm -f /etc/update-motd.d/98-armbian-autoreboot-warn || true +# Clean apt-cache +apt-get clean + # Enable any new/required services systemctl enable bitcoind systemctl enable lnd