From 76a853f71fd3ad289be0be06917df0e2ac8336f0 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 5 Mar 2026 14:29:29 +0100 Subject: [PATCH] Actualiser run.sh --- run.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/run.sh b/run.sh index e69de29..c1efa93 100644 --- a/run.sh +++ b/run.sh @@ -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" \ No newline at end of file