pimsync: ensure local storage directories exist (#8359)
pimsync: ensure local storage directories exist Unfortunately pipsync will throw an error if it trys to write into a nonexistant local storage directory. This patch ensures that all local storage directories are present for accounts with pimsync enabled. * pimsync: use tmpfiles to create storage dirs * pimsync: fix tests * pimsync: only use tmpfiles on linux * pimsync: format * pimsync: use mkdir to create storage dirs if systemd is not available
This commit is contained in:
parent
167452eb4c
commit
cdf6d7d594
2 changed files with 23 additions and 0 deletions
|
|
@ -48,6 +48,8 @@
|
|||
];
|
||||
};
|
||||
|
||||
test.stubs.systemd.outPath = null;
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/pimsync/pimsync.conf
|
||||
assertFileContent home-files/.config/pimsync/pimsync.conf ${./basic.scfg}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue