From 1b9ff0a08d192aaf99259d21837da8ea37957c40 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sat, 13 Jun 2026 21:59:36 +0200 Subject: [PATCH] Add shebangs to backup scripts so they run properly in zsh --- templates/backup-mount.sh.j2 | 1 + templates/backup-send.sh.j2 | 1 + templates/backup-vars.sh.j2 | 1 + 3 files changed, 3 insertions(+) diff --git a/templates/backup-mount.sh.j2 b/templates/backup-mount.sh.j2 index d90a437..297ee15 100644 --- a/templates/backup-mount.sh.j2 +++ b/templates/backup-mount.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash source ./vars.sh MOUNT_PATH="/mnt/restic" diff --git a/templates/backup-send.sh.j2 b/templates/backup-send.sh.j2 index 036fef9..7c6e537 100644 --- a/templates/backup-send.sh.j2 +++ b/templates/backup-send.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash ###### Unlock the restic database in case it's locked $RESTIC --password-file=$PWD_FILE unlock diff --git a/templates/backup-vars.sh.j2 b/templates/backup-vars.sh.j2 index fdea2ba..1a37f8f 100644 --- a/templates/backup-vars.sh.j2 +++ b/templates/backup-vars.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash export RESTIC_REPOSITORY="{{ restic_repository }}" export AWS_ACCESS_KEY_ID="{{ cloudflare_r2_access_key }}" export AWS_SECRET_ACCESS_KEY="{{ cloudflare_r2_secret_key }}"