mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/image: cleanup leftover directories
This commit is contained in:
parent
45f3999381
commit
be139097a9
@ -380,6 +380,9 @@ fi
|
|||||||
$SCRIPTS/mkimage
|
$SCRIPTS/mkimage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# cleanup release dir
|
||||||
|
rm -rf $RELEASE_DIR
|
||||||
|
|
||||||
# create WeTek Play (Amlogic) ZIP update and auto-install packages if requested
|
# create WeTek Play (Amlogic) ZIP update and auto-install packages if requested
|
||||||
if [ "$1" = "amlpkg" ]; then
|
if [ "$1" = "amlpkg" ]; then
|
||||||
echo "Creating Amlogic ZIP update package"
|
echo "Creating Amlogic ZIP update package"
|
||||||
@ -540,7 +543,8 @@ fi
|
|||||||
|
|
||||||
# create release tarball
|
# create release tarball
|
||||||
tar cf $TARGET_IMG/${IMAGE_NAME}-$1.tar -C $TARGET ${IMAGE_NAME}-$1
|
tar cf $TARGET_IMG/${IMAGE_NAME}-$1.tar -C $TARGET ${IMAGE_NAME}-$1
|
||||||
|
|
||||||
|
# cleanup noobs dir
|
||||||
|
rm -rf $RELEASE_DIR
|
||||||
fi
|
fi
|
||||||
# cleanup release dir
|
|
||||||
rm -rf $RELEASE_DIR
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user