소스 검색

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 년 전
부모
커밋
f43f4a16e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"
 }