Remove FreeBSD ports updating from upgrade() function.

This commit is contained in:
Bartek Stalewski 2025-01-21 00:20:57 +01:00
parent 683d5e4789
commit 0fcc958ad5
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo

View File

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