mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 20:41:33 +00:00
Removed conditional for installing libsodium.
If it's superseded or already installed, it just won't install it anyway.
This commit is contained in:
parent
c87380fa54
commit
fc339cc9d0
@ -122,16 +122,12 @@ if [[ "$OS" == "Debian" ]]; then
|
|||||||
apt-get $apt_options install libjson-perl
|
apt-get $apt_options install libjson-perl
|
||||||
|
|
||||||
# If libsodium18 isn't installed (Debian), let's download both that and the dev package and install them.
|
# If libsodium18 isn't installed (Debian), let's download both that and the dev package and install them.
|
||||||
if dpkg-query -s "libsodium18" 1>/dev/null 2>&1; then
|
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium-dev_1.0.11-1~bpo8+1_amd64.deb -O /home/eqemu/libsodium-dev.deb
|
||||||
echo "Sodium library already installed."
|
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium18_1.0.11-1~bpo8+1_amd64.deb -O /home/eqemu/libsodium18.deb
|
||||||
else
|
dpkg -i /home/eqemu/libsodium*.deb
|
||||||
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium-dev_1.0.11-1~bpo8+1_amd64.deb -O /home/eqemu/libsodium-dev.deb
|
# Cleanup after ourselves
|
||||||
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium18_1.0.11-1~bpo8+1_amd64.deb -O /home/eqemu/libsodium18.deb
|
rm -f /home/eqemu/libsodium-dev.deb
|
||||||
dpkg -i /home/eqemu/libsodium*.deb
|
rm -f /home/eqemu/libsodium18.deb
|
||||||
# Cleanup after ourselves
|
|
||||||
rm -f /home/eqemu/libsodium-dev.deb
|
|
||||||
rm -f /home/eqemu/libsodium18.deb
|
|
||||||
fi
|
|
||||||
|
|
||||||
#::: Install FTP for remote FTP access
|
#::: Install FTP for remote FTP access
|
||||||
echo "proftpd-basic shared/proftpd/inetd_or_standalone select standalone" | debconf-set-selections
|
echo "proftpd-basic shared/proftpd/inetd_or_standalone select standalone" | debconf-set-selections
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user