Add shebangs to backup scripts so they run properly in zsh

This commit is contained in:
Kuba Orlik 2026-06-13 21:59:36 +02:00
parent 05387de09a
commit 1b9ff0a08d
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
source ./vars.sh source ./vars.sh
MOUNT_PATH="/mnt/restic" MOUNT_PATH="/mnt/restic"

View File

@ -1,3 +1,4 @@
#!/bin/bash
###### Unlock the restic database in case it's locked ###### Unlock the restic database in case it's locked
$RESTIC --password-file=$PWD_FILE unlock $RESTIC --password-file=$PWD_FILE unlock

View File

@ -1,3 +1,4 @@
#!/bin/bash
export RESTIC_REPOSITORY="{{ restic_repository }}" export RESTIC_REPOSITORY="{{ restic_repository }}"
export AWS_ACCESS_KEY_ID="{{ cloudflare_r2_access_key }}" export AWS_ACCESS_KEY_ID="{{ cloudflare_r2_access_key }}"
export AWS_SECRET_ACCESS_KEY="{{ cloudflare_r2_secret_key }}" export AWS_SECRET_ACCESS_KEY="{{ cloudflare_r2_secret_key }}"