Files
linux-scripts/wrestic/update-wrestic.sh

4 lines
183 B
Bash

#!/bin/bash
curl -sL $(curl -s https://api.github.com/repos/alvaro17f/wrestic/releases/latest | grep browser_download_url | cut -d '"' -f 4) | sudo tar zxf - -C /usr/bin --overwrite