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 years ago
parent
commit
79db56eb82
1 changed files with 1 additions and 1 deletions
  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"
 }