We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d1114 commit 2aef6aaCopy full SHA for 2aef6aa
pkg/blobfuse-proxy/install-proxy.sh
@@ -73,7 +73,17 @@ then
73
echo "install blobfuse2 with latest version"
74
pkg_list="${pkg_list} blobfuse2"
75
else
76
- pkg_list="${pkg_list} blobfuse2=${BLOBFUSE2_VERSION}"
+ if echo "${BLOBFUSE2_VERSION}" | grep -q "preview"; then
77
+ if $HOST_CMD dpkg -l | grep -q blobfuse2; then
78
+ $HOST_CMD apt-get remove -y blobfuse2
79
+ fi
80
+ pkg_list="${pkg_list} blobfuse2-preview=${BLOBFUSE2_VERSION}"
81
+ else
82
+ if $HOST_CMD dpkg -l | grep -q blobfuse2-preview; then
83
+ $HOST_CMD apt-get remove -y blobfuse2-preview
84
85
+ pkg_list="${pkg_list} blobfuse2=${BLOBFUSE2_VERSION}"
86
87
fi
88
89
0 commit comments