biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / mail / postfix / relative-symlinks.patch
blobf7a2078c03435ec03a858effb64da4784111b50b
1 diff --git a/postfix-install b/postfix/postfix-install
2 index 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