mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +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
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ install() {
|
||||||
post_install() {
|
post_install() {
|
||||||
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
|
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
|
||||||
run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root"
|
run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root"
|
||||||
ln -s /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode"
|
ln -sf /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode"
|
||||||
ln -s /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode"
|
ln -sf /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/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue