unzip Cardigan to designated dir

This commit is contained in:
Yossi 2017-04-16 10:49:08 +03:00
parent 8da4be5a2e
commit 9bb2ed9537

View File

@ -107,10 +107,9 @@ sudo rm /home/node_latest_armhf.deb
echo "========== Install Dride-core [Cardigan] ============"
cd /home
# https://github.com/dride/Cardigan/archive/0.3.zip
wget -c -O "cardigan-0.3.zip" "https://github.com/dride/Cardigan/releases/download/0.3/Cardigan.zip"
unzip -q -n "cardigan-0.3.zip"
sudo rm cardigan-0.3.zip
sudo wget -c -O "cardigan-0.3.zip" "https://github.com/dride/Cardigan/releases/download/0.3/Cardigan.zip"
sudo mkdir Cardigan
sudo unzip "cardigan-0.3.zip" -d Cardigan
sudo rm -R __MACOSX