zfs-builds-mm/pkgs-0.8.1-1/replace_packages_ubuntu

9 lines
285 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