Fix USBImager (32bit)

pull/661/head
Itai-Nelken 3 years ago
parent 6de798ab20
commit 6b1add39d6
No known key found for this signature in database
GPG Key ID: E45E4E2C367B8AE6

@ -8,7 +8,17 @@ function error {
}
cd Downloads || error 'Failed to change directory!'
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
#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 apt install -fy ./usbimager*armhf.deb
cd ..
rm -rf usbimager/

Loading…
Cancel
Save