diff --git a/distributions/LibreELEC/LibreELEC_40x40.png b/distributions/LibreELEC/LibreELEC_40x40.png new file mode 100644 index 0000000000..503f2e15fc Binary files /dev/null and b/distributions/LibreELEC/LibreELEC_40x40.png differ diff --git a/scripts/image b/scripts/image index b66ea2a052..9d774264ff 100755 --- a/scripts/image +++ b/scripts/image @@ -449,7 +449,11 @@ fi # create release dir mkdir -p $RELEASE_DIR/${DISTRONAME}_${PROJECT} - cp -PR $DISTRO_DIR/$DISTRO/${DISTRONAME}.png $RELEASE_DIR/${DISTRONAME}_${PROJECT}/${DISTRONAME}_${PROJECT}.png + if [ -f $DISTRO_DIR/$DISTRO/${DISTRONAME}_40x40.png ]; then + cp -PR $DISTRO_DIR/$DISTRO/${DISTRONAME}_40x40.png $RELEASE_DIR/${DISTRONAME}_${PROJECT}/${DISTRONAME}_${PROJECT}.png + else + cp -PR $DISTRO_DIR/$DISTRO/${DISTRONAME}.png $RELEASE_DIR/${DISTRONAME}_${PROJECT}/${DISTRONAME}_${PROJECT}.png + fi cp -PR $ROOT/config/noobs/os.json $RELEASE_DIR/${DISTRONAME}_${PROJECT} cp -PR $ROOT/config/noobs/partition_setup.sh $RELEASE_DIR/${DISTRONAME}_${PROJECT} cp -PR $ROOT/config/noobs/partitions.json $RELEASE_DIR/${DISTRONAME}_${PROJECT}