Skip to content

Commit f2dccd3

Browse files
committed
support nagara
1 parent 99ed2a4 commit f2dccd3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/create-image.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ done
2929
[ -z "$DEVICE" ] && (echo "Device has to be specified with DEVICE= env" && exit -1)
3030
[ -z "$RELEASE" ] && (echo "Release has to be specified with --release option" && exit -1)
3131

32+
DEVICE_OR_FAMILY=${FAMILY:-$DEVICE}
33+
3234
case $VERSION in
3335
testing)
34-
URL=http://repo.merproject.org/obs/nemo:/testing:/hw:/$VENDOR:/$DEVICE/sailfishos_${RELEASE}
36+
URL=http://repo.merproject.org/obs/nemo:/testing:/hw:/$VENDOR:/$DEVICE_OR_FAMILY/sailfishos_${RELEASE}
3537
;;
3638
devel)
37-
URL=http://repo.merproject.org/obs/nemo:/devel:/hw:/$VENDOR:/$DEVICE/sailfish_latest_$PORT_ARCH
39+
URL=http://repo.merproject.org/obs/nemo:/devel:/hw:/$VENDOR:/$DEVICE_OR_FAMILY/sailfish_latest_$PORT_ARCH
3840
;;
3941
*)
4042
echo "Version (devel or testing) is not specified using --testing option"

0 commit comments

Comments
 (0)