nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 13 lines 456 B view raw
1diff --git a/postfix-install b/postfix/postfix-install 2index 1662c3d..0f20ec0 100644 3--- a/postfix-install 4+++ b/postfix-install 5@@ -336,7 +336,7 @@ compare_or_symlink() { 6 # 2) we cannot use mv to replace a symlink-to-directory; 7 # 3) "ln -n" is not in POSIX, therefore it's not portable. 8 # rm+ln is less atomic but this affects compatibility symlinks only. 9- rm -f $2 && ln -sf $link $2 || exit 1 10+ rm -f $2 && ln -rsf $link $2 || exit 1 11 } 12 } 13