added wrestic install/upgrade line

This commit is contained in:
2023-11-30 20:13:43 -06:00
parent 631e458e44
commit deedef57e5

View File

@@ -220,6 +220,9 @@ if [ $isInFile -eq 0 ]
echo "Unattended upgrades already configured."
fi
# install or update wrestic
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/local/bin --overwrite
# install cronicle worker
if [[ -f /opt/cronicle/conf/config.json ]]
then