mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
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.
This commit is contained in:
parent
184fea5fc1
commit
5ae64035a6
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue