DFU-Util v0.10 -> v0.11
This commit is contained in:
@@ -106,21 +106,21 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step $((STEP++)): Fetching USB DFU host utility ==="
|
echo "=== Step $((STEP++)): Fetching USB DFU host utility ==="
|
||||||
wget -q --show-progress --progress=bar:force:noscroll http://dfu-util.sourceforge.net/releases/dfu-util-0.10.tar.gz
|
wget -q --show-progress --progress=bar:force:noscroll http://dfu-util.sourceforge.net/releases/dfu-util-0.11.tar.gz
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step $((STEP++)): Unpacking USB DFU host utility ==="
|
echo "=== Step $((STEP++)): Unpacking USB DFU host utility ==="
|
||||||
pv dfu-util-0.10.tar.gz | tar xzf -
|
pv dfu-util-0.11.tar.gz | tar xzf -
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step $((STEP++)): Building and Installing USB DFU host utility ==="
|
echo "=== Step $((STEP++)): Building and Installing USB DFU host utility ==="
|
||||||
cd dfu-util-0.10/
|
cd dfu-util-0.11/
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
@@ -131,7 +131,7 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step $((STEP++)): Removing the downloaded archive and build folder of USB DFU host utility ==="
|
echo "=== Step $((STEP++)): Removing the downloaded archive and build folder of USB DFU host utility ==="
|
||||||
rm dfu-util-0.10.tar.gz
|
rm dfu-util-0.11.tar.gz
|
||||||
rm -rf dfu-util-0.10
|
rm -rf dfu-util-0.10
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished."
|
echo "Step finished."
|
||||||
|
|||||||
Reference in New Issue
Block a user