librelad 875a60f90f LibrePortal v0.1.0 — initial release
A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys,
Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun
VPN routing, and a web dashboard to manage it all.

Free & open forever to self-host; optional paid hosted services fund it.
See PROMISE.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Signed-off-by: librelad <librelad@digitalangels.vip>
2026-05-21 20:37:54 +01:00

25 lines
778 B
Bash

#!/bin/bash
borgInstall()
{
if command -v borg >/dev/null 2>&1; then
local v
v=$(borg --version 2>/dev/null | head -1)
isNotice "BorgBackup already installed ($v)"
return 0
fi
isHeader "Installing BorgBackup"
if command -v apt-get >/dev/null 2>&1; then
sudo apt-get install -y borgbackup && return 0
elif command -v dnf >/dev/null 2>&1; then
sudo dnf install -y borgbackup && return 0
elif command -v pacman >/dev/null 2>&1; then
sudo pacman -S --noconfirm borg && return 0
fi
isError "Could not install BorgBackup — no supported package manager found."
isNotice "Install manually (https://borgbackup.readthedocs.io/) and re-run 'libreportal backup location init'."
return 1
}