diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 19:44:22 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 19:44:22 +0200 |
commit | 86324ade28f499762725d2e3c8a3b3b5987dfe83 (patch) | |
tree | 784b5ed6c6084afc1bcdfc31f7724ff615603c9f | |
parent | 9dccb3b18d987fd696b14b88728299182751a849 (diff) | |
download | nixos-86324ade28f499762725d2e3c8a3b3b5987dfe83.tar nixos-86324ade28f499762725d2e3c8a3b3b5987dfe83.tar.gz nixos-86324ade28f499762725d2e3c8a3b3b5987dfe83.tar.bz2 nixos-86324ade28f499762725d2e3c8a3b3b5987dfe83.tar.xz nixos-86324ade28f499762725d2e3c8a3b3b5987dfe83.zip |
with new btrfs subvolume linking is broken
-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 07c96839..488f0cca 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -15,6 +15,6 @@ writeScriptBin "recv-media" '' | |||
15 | dir=/var/media | 15 | dir=/var/media |
16 | target="''${dir}"/$(basename "$1") | 16 | target="''${dir}"/$(basename "$1") |
17 | 17 | ||
18 | cp -lvn "$1" "''${target}" | 18 | cp -vn --preserve=all "$1" "''${target}" |
19 | touch -c -m -t "$2" "''${target}" | 19 | touch -c -m -t "$2" "''${target}" |
20 | '' | 20 | '' |