zfs-builds-mm/pkgs-0.8.3/replace_packages_ubuntu
2020-03-01 19:43:35 +01:00

9 lines
330 B
Bash

#!/bin/bash
apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
apt remove "zfs*" -y
apt autoremove -y
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done
cp zfSnap /usr/sbin/zfSnap
chmod 755 /usr/sbin/zfSnap
echo zfs >> /etc/modules-load.d/modules.conf