Skip to content

Commit

Permalink
Added a new if
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore-Krug authored Mar 10, 2019
1 parent efad71c commit 542160d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ sudo udevadm control --reload-rules

echo -e "\n Installing CHIP-tools"
if [ -d CHIP-tools ]; then
pushd CHIP-tools
git pull
popd
cd CHIP-tools
git pull
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
elif [ !-d CHIP-tools ]; then
git clone https://github.com/Project-chip-crumbs/CHIP-tools.git
cd CHIP-tools
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
fi
git clone https://github.com/Project-chip-crumbs/CHIP-tools.git

cd CHIP-tools

FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour

0 comments on commit 542160d

Please sign in to comment.