Autoremoving packages on FreeBSD.

This commit is contained in:
Bartek Stalewski 2025-03-02 02:41:02 +01:00
parent 5c18126ba5
commit 5e31c9a1c6
No known key found for this signature in database

View file

@ -75,6 +75,7 @@ function upgrade() {
elif [ $(uname -s) = "FreeBSD" ]; then
pkg update -f
pkg upgrade
pkg autoremove
freebsd-update fetch
freebsd-update install
rm -rf /var/cache/pkg/* /usr/ports/distfiles/*