mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
avoid error message if trusted does not exist (#247)
This commit is contained in:
parent
697436f95d
commit
706f8be4b5
@ -463,8 +463,11 @@ echo "+--------------------------------------------------------------------+"
|
||||
printf "${Color_Off}\n"
|
||||
|
||||
# Set trusted domain in config.php
|
||||
bash "$SCRIPTS"/trusted.sh
|
||||
rm -f "$SCRIPTS"/trusted.sh
|
||||
if [ -f "$SCRIPTS"/trusted.sh ]
|
||||
then
|
||||
bash "$SCRIPTS"/trusted.sh
|
||||
rm -f "$SCRIPTS"/trusted.sh
|
||||
fi
|
||||
|
||||
# Prefer IPv6
|
||||
sed -i "s|precedence ::ffff:0:0/96 100|#precedence ::ffff:0:0/96 100|g" /etc/gai.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user