3767568 symlink: Update latest symlink atomically

Authored and Committed by lsedlar 5 years ago
    symlink: Update latest symlink atomically
    
    Instead of deleting the conflicting file first and linked after, create
    a temporary link and move it over the target file.
    
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
    
        
file modified
+6 -10