Browse Source

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.
Gunnar Beutner 4 năm trước cách đây
mục cha
commit
f43f4a16e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Ports/bash/package.sh

+ 1 - 1
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"
 }