summaryrefslogtreecommitdiffhomepage
path: root/tools/installers/containerd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/installers/containerd.sh')
-rwxr-xr-xtools/installers/containerd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/installers/containerd.sh b/tools/installers/containerd.sh
index 4bbbffeee..5520a447c 100755
--- a/tools/installers/containerd.sh
+++ b/tools/installers/containerd.sh
@@ -49,10 +49,10 @@ install_helper() {
# and later versions no longer have the transitional package.
source /etc/os-release
declare BTRFS_DEV
-if [[ "${ID}" == "ubuntu" ]] && [[ "${VERSION_ID%.*}" -le "18" ]]; then
+if [[ "${VERSION_ID%.*}" -le "18" ]]; then
BTRFS_DEV="btrfs-tools"
else
- BTRFS_DEV="btrfs-dev"
+ BTRFS_DEV="libbtrfs-dev"
fi
readonly BTRFS_DEV