summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel/recv-media.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index d4099a66..a4ac7ba7 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -10,5 +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 -d "$2" "''${dir}/$(basename "$1")" 13 [[ -n "$2"]] && touch -c -d "$(print "$2" | tr '_' ' ')" "''${dir}/$(basename "$1")"
14'' 14''