diff options
author | Adin Scannell <ascannell@google.com> | 2020-12-02 09:13:59 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-02 09:15:58 -0800 |
commit | 9f02d2653bb790e8403b1c8b54656e06eb908802 (patch) | |
tree | 43d100b6e1ce3b0c4c9b38dbd0202708ee895467 | |
parent | b26dd6d9b78b2703a8a726376e6935011657123a (diff) |
Fix containerd.sh for later Ubuntu and Debian-based distributions.
PiperOrigin-RevId: 345245285
-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 |