summaryrefslogtreecommitdiff
path: root/hel/recv-media.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel/recv-media.nix')
-rw-r--r--hel/recv-media.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index eeccdfb1..ef63d7ed 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -10,4 +10,5 @@ writeScriptBin "recv-media" ''
10 dir=/var/media 10 dir=/var/media
11 11
12 cp -ln "$1" "''${dir}/$(basename "$1")" 12 cp -ln "$1" "''${dir}/$(basename "$1")"
13 [[ -n "$2"]] && touch -c -t "$2" "''${dir}/$(basename "$1")"
13'' 14''