Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
456 B
Diff
14 lines
456 B
Diff
diff --git a/postfix-install b/postfix/postfix-install
|
|
index 1662c3d..0f20ec0 100644
|
|
--- a/postfix-install
|
|
+++ b/postfix-install
|
|
@@ -336,7 +336,7 @@ compare_or_symlink() {
|
|
# 2) we cannot use mv to replace a symlink-to-directory;
|
|
# 3) "ln -n" is not in POSIX, therefore it's not portable.
|
|
# rm+ln is less atomic but this affects compatibility symlinks only.
|
|
- rm -f $2 && ln -sf $link $2 || exit 1
|
|
+ rm -f $2 && ln -rsf $link $2 || exit 1
|
|
}
|
|
}
|
|
|