diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-16 16:43:18 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-16 16:43:18 +0200 |
commit | 6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8 (patch) | |
tree | b28e192a0ab20bc53d1e55b5148d226af93302de | |
parent | 112667d6b4425332f2d7b8ddaea4f7c925a4a620 (diff) | |
download | nixos-6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8.tar nixos-6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8.tar.gz nixos-6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8.tar.bz2 nixos-6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8.tar.xz nixos-6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8.zip |
cp instead of mv
-rw-r--r-- | hel/recv-media.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix index e0dc261f..b61840ec 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -9,5 +9,5 @@ writeScriptBin "recv-media" '' | |||
9 | 9 | ||
10 | dir=/var/media | 10 | dir=/var/media |
11 | 11 | ||
12 | mv "$1" "''${dir}/$(basename "$1")" | 12 | cp -l "$1" "''${dir}/$(basename "$1")" |
13 | '' | 13 | '' |