mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 07:22:26 +01:00
Merge branch 'unreal40' of github.com:unrealircd/unrealircd into unreal40
This commit is contained in:
commit
0905936622
1 changed files with 17 additions and 3 deletions
20
Config
20
Config
|
@ -32,6 +32,7 @@ if [ -z "$BINDIR" -o -z "$DATADIR" -o -z "$CONFDIR" -o -z "$MODULESDIR" -o -z "$
|
|||
exit
|
||||
fi
|
||||
|
||||
|
||||
mkdir -p $TMPDIR
|
||||
|
||||
# Do this even if we're not in advanced mode
|
||||
|
@ -542,10 +543,23 @@ while [ -z "$TEST" ] ; do
|
|||
|
||||
done
|
||||
|
||||
TEST="$SSLDIR"
|
||||
|
||||
|
||||
|
||||
echo ""
|
||||
echo "If you know the path to OpenSSL on your system, enter it here. If not"
|
||||
echo "leave this blank (in most cases it will be detected automatically)."
|
||||
if [ -z "$SSLDIR" ] && [ "$(uname)" == "Darwin" ]; then
|
||||
echo "Looks like you're on a Mac - El Capitan and higher require"
|
||||
echo "a 3rd party OpenSSL installation. We recommend using homebrew"
|
||||
echo "to install OpenSSL, but you may install it any other way as well."
|
||||
echo "We are selecting the default homebrew OpenSSL path - but you can"
|
||||
echo "change it to another path if you have installed OpenSSL another way"
|
||||
SSLDIR="/usr/local/opt/openssl/"
|
||||
else
|
||||
echo "If you know the path to OpenSSL on your system, enter it here. If not"
|
||||
echo "leave this blank (in most cases it will be detected automatically)."
|
||||
fi
|
||||
|
||||
TEST="$SSLDIR"
|
||||
echo $n "[$TEST] -> $c"
|
||||
read cc
|
||||
if [ -z "$cc" ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue