File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
77set -euo pipefail
88umask 077
99
1010# --- Script Constants ---
11- SCRIPT_VERSION=" 0.37"
11+ SCRIPT_VERSION=" 0.37.1 "
1212SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
1313CONFIG_FILE=" ${SCRIPT_DIR} /restic-backup.conf"
1414LOCK_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 " )
You can’t perform that action at this time.
0 commit comments