Add progress view to tar extract jobs
This commit is contained in:
@@ -31,7 +31,7 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 2: Installing packages ==="
|
echo "=== Step 2: Installing packages ==="
|
||||||
sudo apt-get -y install build-essential cmake gcc git lib32ncurses-dev lib32z1 libfox-1.6-dev libsdl1.2-dev qt5-default qtmultimedia5-dev qttools5-dev qttools5-dev-tools qtcreator libqt5svg5-dev software-properties-common wget zip python-pip-whl python-pil libgtest-dev python3-pip python3-tk python3-setuptools clang-7 python-clang-7 libusb-1.0-0-dev stlink-tools openocd npm libncurses5:i386 libpython2.7:i386
|
sudo apt-get -y install build-essential cmake gcc git lib32ncurses-dev lib32z1 libfox-1.6-dev libsdl1.2-dev qt5-default qtmultimedia5-dev qttools5-dev qttools5-dev-tools qtcreator libqt5svg5-dev software-properties-common wget zip python-pip-whl python-pil libgtest-dev python3-pip python3-tk python3-setuptools clang-7 python-clang-7 libusb-1.0-0-dev stlink-tools openocd npm pv libncurses5:i386 libpython2.7:i386
|
||||||
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
|
||||||
@@ -60,7 +60,7 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 6: Unpacking GNU Arm Embedded Toolchains ==="
|
echo "=== Step 6: Unpacking GNU Arm Embedded Toolchains ==="
|
||||||
tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
|
pv gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 | tar xjf -
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
@@ -102,7 +102,7 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 12: Unpacking USB DFU host utility ==="
|
echo "=== Step 12: Unpacking USB DFU host utility ==="
|
||||||
tar xzvf dfu-util-0.10.tar.gz
|
pv dfu-util-0.10.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
|
||||||
|
|||||||
Reference in New Issue
Block a user