From 61da024d6b1fede9e95e3d859d2d9123e011fa90 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Sun, 29 Jan 2017 04:29:47 +0100 Subject: [PATCH] install.sh: Preserve symlinks at update Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/bcf478ba67d63ffafb9ff756b6a91a898625ec00 Author: Michael Liebmann Date: 2017-01-29 (Sun, 29 Jan 2017) --- data/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/scripts/install.sh b/data/scripts/install.sh index 1e3dcb8ec..26238fa8a 100755 --- a/data/scripts/install.sh +++ b/data/scripts/install.sh @@ -21,7 +21,7 @@ update_file() fi echo "update $FILE_IMAGE" rm -f $FILE_IMAGE - cp $FILE_NEW $FILE_IMAGE + cp -d $FILE_NEW $FILE_IMAGE fi }