Skip to content

Commit 7fbc7a1

Browse files
author
buildplan
committed
version and date update
1 parent f36fe0f commit 7fbc7a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

restic-backup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env bash
22

33
# =================================================================
4-
# Restic Backup Script v0.37 - 2025.10.01
4+
# Restic Backup Script v0.37.1 - 2025.10.02
55
# =================================================================
66

77
set -euo pipefail
88
umask 077
99

1010
# --- Script Constants ---
11-
SCRIPT_VERSION="0.37"
11+
SCRIPT_VERSION="0.37.1"
1212
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
1313
CONFIG_FILE="${SCRIPT_DIR}/restic-backup.conf"
1414
LOCK_FILE="/tmp/restic-backup.lock"
@@ -219,7 +219,7 @@ check_for_script_update() {
219219
local curl_opts=(-sL --fail --retry 3 --retry-delay 2 -H "Cache-Control: no-cache" -H "Pragma: no-cache")
220220
echo "Downloading script update from raw file URL..."
221221
if ! curl "${curl_opts[@]}" -o "$temp_script" "$SCRIPT_URL"; then echo "Download failed"; return 1; fi
222-
if ! curl "${curl_opts[@]}" -o "$temp_checksum" "$CHECKSUM_URL"; then echo "Download failed"; return 1; fi
222+
if ! curl "${curl_opts[@]}" -o "$temp_checksum" "$CHECKSUM_URL"; then echo "Download failed"; return 1; fi
223223
echo "Verifying downloaded file integrity..."
224224
local remote_hash
225225
remote_hash=$(awk '{print $1}' "$temp_checksum")

0 commit comments

Comments
 (0)