diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-11 04:02:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-11 09:51:20 +0200 |
commit | 5ae64035a6e0eeb7a87a8d4488c56896b9dcd2ef (patch) | |
tree | 28c83f895c7a0143800193c1c12207dd7957e413 /Ports/dmidecode | |
parent | 184fea5fc1d4d2d7caf692154597482f77084845 (diff) | |
download | serenity-5ae64035a6e0eeb7a87a8d4488c56896b9dcd2ef.zip |
Ports: Fix install actions for the dmidecode port when re-installing the port
When re-installing the port the symlink already exists which causes
'ln -s' to fail.
Diffstat (limited to 'Ports/dmidecode')
-rwxr-xr-x | Ports/dmidecode/package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/dmidecode/package.sh b/Ports/dmidecode/package.sh index 9789519c3f..a4a80728ff 100755 --- a/Ports/dmidecode/package.sh +++ b/Ports/dmidecode/package.sh @@ -17,7 +17,7 @@ install() { post_install() { mkdir -p "${SERENITY_BUILD_DIR}/Root/bin" run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root" - ln -s /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode" - ln -s /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode" - ln -s /usr/local/sbin/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode" + ln -sf /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode" + ln -sf /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode" + ln -sf /usr/local/sbin/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode" } |