mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
f8b76356dc
commit
b92c50fdac
@ -169,6 +169,14 @@ if [ "$CUSTOM_VERSION" = false ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# configure apt to retry downloading on error
|
||||
if [ ! -f /etc/apt/apt.conf.d/80-retries ]; then
|
||||
echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries
|
||||
fi
|
||||
|
||||
|
||||
# helper function used by nginx to edit https://github.com/stefanpejcic/openpanel-configuration/blob/main/nginx/vhosts/default.conf
|
||||
is_valid_ipv4() {
|
||||
local ip=$1
|
||||
|
Loading…
Reference in New Issue
Block a user