mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-04-30 20:52:30 +02:00
Merge 8ee0952d33
into aadc780b44
This commit is contained in:
commit
39594ff58e
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
dependNix="libboost-chrono-dev \
|
dependNix="libboost-chrono-dev \
|
||||||
libboost-date-time-dev \
|
libboost-date-time-dev \
|
||||||
|
@ -13,15 +13,15 @@ dependWin="mingw-w64-x86_64-boost \
|
||||||
mingw-w64-x86_64-openssl \
|
mingw-w64-x86_64-openssl \
|
||||||
mingw-w64-x86_64-zlib"
|
mingw-w64-x86_64-zlib"
|
||||||
|
|
||||||
kernel=`uname -a`
|
kernel=$(uname -a)
|
||||||
|
|
||||||
case "$kernel" in
|
case "$kernel" in
|
||||||
*Ubuntu*|*Debian*)
|
*Ubuntu*|*Debian*)
|
||||||
sudo apt install $dependNix;;
|
sudo apt install "$dependNix";;
|
||||||
*gentoo*)
|
*gentoo*)
|
||||||
sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;;
|
sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;;
|
||||||
*MINGW64*)
|
*MINGW64*)
|
||||||
pacman -S $dependWin;;
|
pacman -S "$dependWin";;
|
||||||
*)
|
*)
|
||||||
echo "Just install libboost and libopenssl dev packages on your pc";;
|
printf "Just install libboost and libopenssl dev packages on your pc\n";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue