diff options
-rwxr-xr-x | tools/installers/containerd.sh | 4 |
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 |