Always update/clone repo before running Unraid template generation
This commit is contained in:
parent
1f75bb76de
commit
111c181e3a
1 changed files with 1 additions and 2 deletions
3
start.sh
3
start.sh
|
|
@ -6,7 +6,6 @@ set -euo pipefail
|
||||||
|
|
||||||
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"
|
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"
|
||||||
SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_PATH}")" && pwd)"
|
SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_PATH}")" && pwd)"
|
||||||
LOCAL_RUN_SCRIPT="${SCRIPT_DIR}/scripts/run-unraid.sh"
|
|
||||||
|
|
||||||
INSTALL_DIR="${INSTALL_DIR:-${SCRIPT_DIR}}"
|
INSTALL_DIR="${INSTALL_DIR:-${SCRIPT_DIR}}"
|
||||||
REPO_URL="${REPO_URL:-https://forgejo.tailef61c0.ts.net/openclaw/lidarr-spotify-frontend.git}"
|
REPO_URL="${REPO_URL:-https://forgejo.tailef61c0.ts.net/openclaw/lidarr-spotify-frontend.git}"
|
||||||
|
|
@ -31,7 +30,7 @@ is_allowed_bootstrap_file() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "${START_BOOTSTRAPPED:-0}" != "1" && ! -f "${LOCAL_RUN_SCRIPT}" ]]; then
|
if [[ "${START_BOOTSTRAPPED:-0}" != "1" ]]; then
|
||||||
if ! command -v git >/dev/null 2>&1; then
|
if ! command -v git >/dev/null 2>&1; then
|
||||||
echo "Fehler: git wurde nicht gefunden."
|
echo "Fehler: git wurde nicht gefunden."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue