From 4477f6dc2ce9786007da460b37e152b6c8db15cc Mon Sep 17 00:00:00 2001 From: Pecusx Date: Sat, 14 Oct 2017 23:27:44 +0200 Subject: [PATCH] Raspberry Pi update option added. --- html/scripts/clear_caches.sh | 2 +- html/scripts/rpi_system_update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/scripts/clear_caches.sh b/html/scripts/clear_caches.sh index 772cb6c..0d78f87 100644 --- a/html/scripts/clear_caches.sh +++ b/html/scripts/clear_caches.sh @@ -6,7 +6,7 @@ rm /var/backups/*.gz # Remove caches rm /var/cache/debconf/*.dat-old -rm /var/cache/apt/archives/*.* +apt-get clean # Remove old logs rm /var/log/*.gz diff --git a/html/scripts/rpi_system_update.sh b/html/scripts/rpi_system_update.sh index 5a2c960..dbe80f2 100644 --- a/html/scripts/rpi_system_update.sh +++ b/html/scripts/rpi_system_update.sh @@ -8,5 +8,5 @@ service radiod stop apt-get update # update all installed system packages and reboot -apt-get -y upgrade +apt-get -y dist-upgrade reboot