Merge pull request #659 from Botspot/Itai-Nelken-patch-2

Update USBImager 1.0.5 --> 1.0.7
pull/661/head
Itai Nelken 3 years ago committed by GitHub
commit 6de798ab20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,6 @@ function error {
cd Downloads || error 'Failed to change directory!'
wget https://gitlab.com/bztsrc/usbimager/-/raw/binaries/usbimager_1.0.5-armhf.deb || error 'Failed to Download usbimager_1.0.5-armhf.deb!'
sudo dpkg -i usbimager_1.0.5-armhf.deb || error 'Failed to install usbimager_1.0.5-armhf.deb!'
rm usbimager_1.0.5-armhf.deb
wget https://gitlab.com/bztsrc/usbimager/-/blob/binaries/usbimager_1.0.7-armhf.deb || error 'Failed to Download usbimager_1.0.5-armhf.deb!'
sudo dpkg -i usbimager_1.0.7-armhf.deb || error 'Failed to install usbimager_1.0.7-armhf.deb!'
rm -f usbimager_1.0.7-armhf.deb

@ -7,11 +7,17 @@ function error {
exit 1
}
cd ~/Downloads || error "Failed to change directory to $HOME/Downloads!"
git clone https://gitlab.com/bztsrc/usbimager.git
cd usbimager/src/
#change version to latest each time
VER="1.0.7"
cd $HOME || error "Failed to change directory to $HOME!"
git clone https://gitlab.com/bztsrc/usbimager.git || error "Failed to clone USBImager repo!"
cd usbimager/ || error "Failed to entr usbimager repo folder!"
git checkout $VER || error "Failed to checkout version $VER!"
cd src/
USE_LIBUI=yes make -j$(nproc)
make deb
cd ..
sudo dpkg -i usbimager_1.0.5-arm64.deb
sudo apt install -fy ./usbimager*arm64.deb
cd ..
rm -rf usbimager
rm -rf usbimager/

Loading…
Cancel
Save