mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
Minor changes
This commit is contained in:
@@ -15,3 +15,4 @@ rm /var/log/apt/*.gz
|
||||
rm /var/log/icecast2/*.gz
|
||||
rm /var/log/mpd/*.gz
|
||||
rm /var/log/samba/*.*
|
||||
sync
|
||||
|
||||
@@ -2,10 +2,13 @@
|
||||
service radiod stop
|
||||
|
||||
# call clear caches script first
|
||||
/usr/share/radio/html/scripts/clear_caches.sh
|
||||
/usr/share/radio/html/scripts/clear_caches.sh &&
|
||||
|
||||
# to prevent hangs
|
||||
dpkg --configure -a &&
|
||||
|
||||
# get actual packages list
|
||||
apt-get update
|
||||
apt-get update &&
|
||||
|
||||
# update all installed system packages and reboot
|
||||
apt-get -y dist-upgrade
|
||||
|
||||
Reference in New Issue
Block a user