Files
Docker/run.sh
2026-03-05 14:29:29 +01:00

21 lines
499 B
Bash

#!/usr/bin/env bash
set -e
DIR="/opt/lxc-updater"
mkdir -p "$DIR"
cd "$DIR"
echo "Downloading latest scripts..."
curl -fsSL https://git.thomasmlg.fr/thomas/Docker/raw/branch/main/updater/detect.sh -o detect.sh
curl -fsSL https://git.thomasmlg.fr/thomas/Docker/raw/branch/main/updater/update.sh -o update.sh
curl -fsSL https://git.thomasmlg.fr/thomas/Docker/raw/branch/main/updater/services.conf -o services.conf
chmod +x detect.sh update.sh
METHOD=$(bash detect.sh)
bash update.sh "$METHOD"