mirror of
https://github.com/kmein/niveum
synced 2026-03-21 04:11:07 +01:00
fix(restic): remove tmp dir
This commit is contained in:
@@ -31,7 +31,7 @@ in
|
|||||||
mountdir=$(mktemp -d)
|
mountdir=$(mktemp -d)
|
||||||
trap clean EXIT
|
trap clean EXIT
|
||||||
clean() {
|
clean() {
|
||||||
rm "$mountdir"
|
rm -r "$mountdir"
|
||||||
}
|
}
|
||||||
${pkgs.restic}/bin/restic -r ${restic.repository} -p ${<secrets/restic/password>} mount "$mountdir"
|
${pkgs.restic}/bin/restic -r ${restic.repository} -p ${<secrets/restic/password>} mount "$mountdir"
|
||||||
'')
|
'')
|
||||||
|
|||||||
Reference in New Issue
Block a user