Actualiser run.sh

This commit is contained in:
2026-03-05 14:25:44 +01:00
parent ef1a68232e
commit 2a90b9f12b

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"