install.sh: fix fetch path /usr/bin/fetch
This commit is contained in:
parent
eb52507c08
commit
c45ec52a6b
@ -26,7 +26,7 @@ echo "========================================"
|
|||||||
# Binaries herunterladen wenn nicht lokal vorhanden
|
# Binaries herunterladen wenn nicht lokal vorhanden
|
||||||
if [ ! -f "${BINARY}" ]; then
|
if [ ! -f "${BINARY}" ]; then
|
||||||
echo "[*] Binaries nicht lokal gefunden — lade vom Backend..."
|
echo "[*] Binaries nicht lokal gefunden — lade vom Backend..."
|
||||||
/usr/local/bin/fetch --no-verify-peer -o "${BASEDIR}/rmm-bundle.zip" \
|
/usr/bin/fetch --no-verify-peer -o "${BASEDIR}/rmm-bundle.zip" \
|
||||||
"${BACKEND_URL}/api/v1/firmware/download?platform=freebsd&api_key=${API_KEY}"
|
"${BACKEND_URL}/api/v1/firmware/download?platform=freebsd&api_key=${API_KEY}"
|
||||||
if [ ! -f "${BASEDIR}/rmm-bundle.zip" ]; then
|
if [ ! -f "${BASEDIR}/rmm-bundle.zip" ]; then
|
||||||
echo "FEHLER: Download fehlgeschlagen."
|
echo "FEHLER: Download fehlgeschlagen."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user