Skip to content

Commit f43f4a1

Browse files
gunnarbeutnerawesomekling
authored andcommitted
Ports: Fix install actions for the bash port when re-installing the port
When re-installing the port the symlink already exists which causes 'ln -s' to fail.
1 parent 07627b3 commit f43f4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ports/bash/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ build() {
1717

1818
post_install() {
1919
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
20-
ln -s /usr/local/bin/bash "${SERENITY_BUILD_DIR}/Root/bin/bash"
20+
ln -sf /usr/local/bin/bash "${SERENITY_BUILD_DIR}/Root/bin/bash"
2121
}

0 commit comments

Comments
 (0)