|
|
@ -2,9 +2,18 @@
|
|
|
|
# this shell script will be replaced by a proper program in the future (probably)
|
|
|
|
# this shell script will be replaced by a proper program in the future (probably)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
if [ "X$1" = "X" ] ; then url="https://i2p.rocks/i2procks.signed" ; else url="$1" ; fi
|
|
|
|
if [ -z "$1" ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
url="https://i2p.rocks/i2procks.signed"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
url="$1"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "downloading $url"
|
|
|
|
echo "downloading $url"
|
|
|
|
if [ ! -d $HOME/.lokinet/]; then
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d "$HOME/.lokinet" ]
|
|
|
|
|
|
|
|
then
|
|
|
|
mkdir $HOME/.lokinet
|
|
|
|
mkdir $HOME/.lokinet
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url"
|
|
|
|
wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url"
|
|
|
|