mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Add check for user overrides to wgetrc
This commit is contained in:
parent
f78f039776
commit
0bc5d20e8f
@ -40,3 +40,9 @@ if [ -n "$MOUNTED_TMP_AS_NO_EXEC" ]; then
|
|||||||
echo "Mail-in-a-Box has to have exec rights on /tmp, please mount /tmp with exec"
|
echo "Mail-in-a-Box has to have exec rights on /tmp, please mount /tmp with exec"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check that no .wgetrc exists
|
||||||
|
if [ -e ~/.wgetrc ]; then
|
||||||
|
echo "Mail-in-a-Box expects no default overrides to wget"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user