Browse Source

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

+ 1 - 1
Ports/gcc/package.sh

@@ -20,5 +20,5 @@ build() {
 
 install() {
     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"
 }