zfs-builds-mm/replace_packages_ubuntu
2019-07-08 21:34:29 +02:00

5 lines
283 B
Bash

#!/bin/bash
apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
apt remove "zfs*" libnvpair1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux -y
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done