From f43f4a16e733766fc7956647269414c09c97b70c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 10 Apr 2021 14:31:55 +0200 Subject: [PATCH] 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. --- Ports/bash/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/bash/package.sh b/Ports/bash/package.sh index 4447b3aefe1..be9205c10bd 100755 --- a/Ports/bash/package.sh +++ b/Ports/bash/package.sh @@ -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" }