Actualiser run.sh

This commit is contained in:
2026-03-05 14:29:29 +01:00
parent 465b8463b0
commit 76a853f71f

21
run.sh
View File

@@ -0,0 +1,21 @@
#!/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"