Ports: Fix install actions for the bash port when re-installing the port

When re-installing the port the symlink already exists which causes
'ln -s' to fail.
This commit is contained in:
Gunnar Beutner 2021-04-10 14:31:55 +02:00 committed by Andreas Kling
parent 07627b3742
commit f43f4a16e7
Notes: sideshowbarker 2024-07-18 20:33:42 +09:00

View File

@ -17,5 +17,5 @@ build() {
post_install() {
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
ln -s /usr/local/bin/bash "${SERENITY_BUILD_DIR}/Root/bin/bash"
ln -sf /usr/local/bin/bash "${SERENITY_BUILD_DIR}/Root/bin/bash"
}