Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion pkg/blobfuse-proxy/install-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,17 @@ then
echo "install blobfuse2 with latest version"
pkg_list="${pkg_list} blobfuse2"
else
pkg_list="${pkg_list} blobfuse2=${BLOBFUSE2_VERSION}"
if echo "${BLOBFUSE2_VERSION}" | grep -q "preview"; then
if $HOST_CMD dpkg -l | grep -q blobfuse2; then
$HOST_CMD apt-get remove -y blobfuse2
fi
pkg_list="${pkg_list} blobfuse2-preview=${BLOBFUSE2_VERSION}"
else
if $HOST_CMD dpkg -l | grep -q blobfuse2-preview; then
$HOST_CMD apt-get remove -y blobfuse2-preview
fi
pkg_list="${pkg_list} blobfuse2=${BLOBFUSE2_VERSION}"
fi
fi
fi

Expand Down
Loading