Prepare updater to use ZIP updates
@@ -58,7 +58,7 @@ MYVERSION=`cat /etc/hifiberry.version 2>/dev/null`
if [ "$MYVERSION" == "" ]; then
MYVERSION=0
fi
-VERSION=`curl -f -s -d host=$HOST -d version=$MYVERSION -d piversion=$PIVERSION -d releasetag=$RELEASE -m 2 $UPDATEURL/update-system`
+VERSION=`curl -f -s -d host=$HOST -d version=$MYVERSION -d piversion=$PIVERSION -d releasetag=$RELEASE -d zipsupport=1 -m 2 $UPDATEURL/update-system`
if [ "$?" != 0 ]; then
echo "Couldn't get release information from $UPDATEURL/update-system, aborting..."
exit 1
@@ -88,7 +88,7 @@ fi
echo "updating from $MYVERSION to $VERSION..."
# find correct version
-UPDATER=`curl -f -s $UPDATEURL/updater-url/$VERSION/$PIVERSION`
+UPDATER=`curl -f -s $UPDATEURL/updater-url/$VERSION/$PIVERSION/zip`
if [ "$UPDATER" == "" ]; then
echo "No updater found for $VERSION/$PIVERSION"
exit 1
