Changed to DFU-Util 0.10
This commit is contained in:
@@ -93,21 +93,21 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||
fi
|
||||
|
||||
echo "=== Step 11: Fetching USB DFU host utility ==="
|
||||
wget http://dfu-util.sourceforge.net/releases/dfu-util-0.9.tar.gz
|
||||
wget http://dfu-util.sourceforge.net/releases/dfu-util-0.10.tar.gz
|
||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||
read
|
||||
fi
|
||||
|
||||
echo "=== Step 12: Unpacking USB DFU host utility ==="
|
||||
tar xzvf dfu-util-0.9.tar.gz
|
||||
tar xzvf dfu-util-0.10.tar.gz
|
||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||
read
|
||||
fi
|
||||
|
||||
echo "=== Step 13: Building and Installing USB DFU host utility ==="
|
||||
cd dfu-util-0.9/
|
||||
cd dfu-util-0.10/
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
@@ -118,8 +118,8 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||
fi
|
||||
|
||||
echo "=== Step 14: Removing the downloaded archive and build folder of USB DFU host utility ==="
|
||||
rm dfu-util-0.9.tar.gz
|
||||
rm -rf dfu-util-0.9
|
||||
rm dfu-util-0.10.tar.gz
|
||||
rm -rf dfu-util-0.10
|
||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||
echo "Step finished."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user