commit 2d177934abdcea4d68743a4c2c1b0ed0011bccb1
parent 5550daec905a160f292a2962db74482ef83a4114
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Mon, 16 Dec 2024 20:46:25 +0100
fix(borg): mkdir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/borg-backup.sh b/scripts/borg-backup.sh
@@ -34,7 +34,7 @@ PATH=$PATH:/usr/local/bin
EOF
# Configure borg repo on pcloud
-mkdir /root/.config/borg
+mkdir -p /root/.config/borg
cat <<EOF > /root/.config/borg/config
BORG_REPO='$BORG_REPO'