From 79db56eb82050b53c24cec1b21077914d6ae429c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 13 Aug 2021 21:05:05 +0200 Subject: [PATCH] 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. --- Ports/gcc/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh index 1e5e8ea199..23596aeaf1 100755 --- a/Ports/gcc/package.sh +++ b/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" }