mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
43efff0f4f
@ -80,8 +80,8 @@ gunzip=$(which unpigz 2> /dev/null || which gunzip 2> /dev/null)
|
||||
|
||||
if [[ $DISK_IMG == *.gz ]]; then
|
||||
msg "decompressing the gzipped image"
|
||||
$gunzip -c $DISK_IMG > ${DISK_IMG::-3}
|
||||
DISK_IMG=${DISK_IMG::-3}
|
||||
$gunzip -c $DISK_IMG > ${DISK_IMG%???}
|
||||
DISK_IMG=${DISK_IMG%???}
|
||||
fi
|
||||
|
||||
umount ${SDCARD_DEV}* 2>/dev/null || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user