install.sh: Preserve symlinks at update

Origin commit data
------------------
Commit: bcf478ba67
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
This commit is contained in:
Michael Liebmann
2017-01-29 04:29:47 +01:00
parent 5ef04827b2
commit 61da024d6b

View File

@@ -21,7 +21,7 @@ update_file()
fi fi
echo "update $FILE_IMAGE" echo "update $FILE_IMAGE"
rm -f $FILE_IMAGE rm -f $FILE_IMAGE
cp $FILE_NEW $FILE_IMAGE cp -d $FILE_NEW $FILE_IMAGE
fi fi
} }