Autoremoving packages on FreeBSD.
This commit is contained in:
parent
5c18126ba5
commit
5e31c9a1c6
1 changed files with 1 additions and 0 deletions
|
@ -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/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue