This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
sudo apt update | |
sudo apt install -y debhelper libcapture-tiny-perl libconfig-inifiles-perl pv lzop mbuffer build-essential git | |
cd /tmp | |
git clone https://github.com/jimsalterjrs/sanoid.git | |
cd sanoid | |
git checkout $(git tag | grep "^v" | tail -n 1) |