updated script for debian 11

This commit is contained in:
Andrey Prokopenko
2021-09-14 20:37:49 +02:00
parent b67f314955
commit 4efef6b5a4

View File

@@ -497,7 +497,7 @@ echo "======= installing zfs on rescue system =========="
add-apt-repository 'deb https://terem42.github.io/zfs-debian/public zfs-debian-experimental main' add-apt-repository 'deb https://terem42.github.io/zfs-debian/public zfs-debian-experimental main'
apt update apt update
apt install --yes libelf-dev apt install --yes libelf-dev
apt install -t zfs-debian-experimental --yes zfs-dkms apt install -t zfs-debian-experimental --yes zfs-dkms zfsutils-linux
else else
cd "$(mktemp -d)" cd "$(mktemp -d)"
wget "$(curl -Ls https://api.github.com/repos/openzfs/zfs/releases/latest| grep "browser_download_url.*tar.gz"|grep -E "tar.gz\"$"| cut -d '"' -f 4)" wget "$(curl -Ls https://api.github.com/repos/openzfs/zfs/releases/latest| grep "browser_download_url.*tar.gz"|grep -E "tar.gz\"$"| cut -d '"' -f 4)"