From 9bb2ed9537ab687626f8af9bdb7b555e56ef652d Mon Sep 17 00:00:00 2001 From: Yossi Date: Sun, 16 Apr 2017 10:49:08 +0300 Subject: [PATCH] unzip Cardigan to designated dir --- stage2/01-sys-tweaks/01-run.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index d67d48c..49af103 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -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