summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild_medkit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_medkit.sh b/build_medkit.sh
index 581c1f7..56c03a0 100755
--- a/build_medkit.sh
+++ b/build_medkit.sh
@@ -40,7 +40,7 @@ done
# Get latest version if we didn't stated version explicitly
if [ -z "$VERSION" ]; then
[ -n "$BRANCH" ] && VBRANCH="-$BRANCH"
- VERSION="$(curl https://repo.turris.cz/$MODEL$VBRANCH/root/etc/turris-version)"
+ VERSION="$(curl https://repo.turris.cz/omnia-dev-karel/packages/base/Packages | sed -n 's/^Filename: turris-version_\([^_]*\)_.*/\1/p')"
fi
# Ensure that we have tools