trusted domains are needed before the update happens

This commit is contained in:
Daniel Hansson 2022-01-20 07:46:17 +01:00 committed by GitHub
parent 93cca2d3a1
commit cf3b602962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,6 +543,9 @@ mesg n
ROOTNEWPROFILE
# Set trusted domain in config.php
run_script NETWORK trusted
# Upgrade system
print_text_in_color "$ICyan" "System will now upgrade..."
bash $SCRIPTS/update.sh minor
@ -551,9 +554,6 @@ bash $SCRIPTS/update.sh minor
apt-get autoremove -y
apt-get autoclean
# Set trusted domain in config.php
run_script NETWORK trusted
# Remove preference for IPv4
rm -f /etc/apt/apt.conf.d/99force-ipv4
apt-get update