summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-07 10:18:53 +0200
committerxengineering <me@xengineering.eu>2021-10-07 10:18:53 +0200
commit74aa75b1d11d2e99b4fc6060699846ff7f362f96 (patch)
tree214fc1d03257642a2bfb07310aca47224a04e672
parent92962328fcf06c48d2a964236fef12e2ed13faec (diff)
downloadxbackup-74aa75b1d11d2e99b4fc6060699846ff7f362f96.tar
xbackup-74aa75b1d11d2e99b4fc6060699846ff7f362f96.tar.zst
xbackup-74aa75b1d11d2e99b4fc6060699846ff7f362f96.zip
Fix /var/lib/xbackup Bug
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f9ad2a9..0ab8d6e 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ clean:
install:
install -Dm 644 config/default.json $(DESTDIR)/etc/xbackup/config.json
+ mkdir -p $(DESTDIR)/var/lib/xbackup/borg
+ chown -R root:root $(DESTDIR)/var/lib/xbackup
+ chmod -R 700 $(DESTDIR)/var/lib/xbackup
make -C src install DESTDIR=$(abspath $(DESTDIR))