zfs-builds-mm/replace_packages_ubuntu

10 lines
330 B
Text
Raw Normal View History

2019-07-06 23:40:11 +02:00
#!/bin/bash
apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
2019-07-09 20:25:38 +02:00
apt remove "zfs*" -y
2019-07-09 20:52:53 +02:00
apt autoremove -y
2019-07-06 23:40:11 +02:00
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done
2019-07-09 21:42:42 +02:00
cp zfSnap /usr/sbin/zfSnap
chmod 755 /usr/sbin/zfSnap
2019-07-18 15:31:51 +02:00
echo zfs >> /etc/modules-load.d/modules.conf