Update image writing script

This commit is contained in:
fewtarius 2022-02-25 08:25:01 -05:00
parent 524b1bfba1
commit dc88217bf4
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -33,11 +33,9 @@ done
if [ ! -z "${SDDEVICE}" ]
then
if [ -d "release/aarch64/${DEVICE}" ]
if [ -e "release/${DISTRO}-${DEVICE}.${ARCH}-${OS_VERSION}.img.gz" ]
then
cd release/aarch64/${DEVICE}
cd release
echo "Extracting ${DISTRO}-${DEVICE}.${ARCH}-${OS_VERSION}.img.gz"
gunzip ${DISTRO}-${DEVICE}.${ARCH}-${OS_VERSION}.img.gz