浏览代码

Ports: Make sure re-installing the gcc port doesn't fail

Re-installing the gcc port would previously fail because we failed to
overwrite the symlink.
Gunnar Beutner 3 年之前
父节点
当前提交
79db56eb82
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Ports/gcc/package.sh

+ 1 - 1
Ports/gcc/package.sh

@@ -20,5 +20,5 @@ build() {
 
 
 install() {
 install() {
     run make $installopts
     run make $installopts
-    run ln -s gcc "${SERENITY_INSTALL_ROOT}/usr/local/bin/cc"
+    run ln -sf gcc "${SERENITY_INSTALL_ROOT}/usr/local/bin/cc"
 }
 }