Files
Server-Scripts/deploy-urbackup.sh

12 lines
488 B
Bash

#!/bin/bash
#update local update db
yay -Syy
#install outdated dep from provision server
yay -U https://prov.franscorack.com/pkg/automake-1.16.5-2-any.pkg.tar.zst --needed --noconfirm &&
#install client & lsb-release dep
yay -S urbackup2-client-no-gui lsb-release --needed --noconfirm &&
#enable & start systemd service
sudo systemctl enable urbackupclientbackend
sudo systemctl start urbackupclientbackend
#reinstall updated dep that was downgraded previously
yay -S automake --noconfirm