Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
79db56eb82
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"
 }