summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1795bcf..f1ca2d4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -253,8 +253,12 @@ for _variant in "${_variants[@]}"; do
fi
if [[ $_platform =~ ^.*-hdmi$ ]]; then
- backup=(\"\${backup[@]}\" etc/kvmd/tc358743-edid.hex)
+ backup=(\"\${backup[@]}\" etc/kvmd/tc358743-edid.hex etc/kvmd/switch-edid.hex)
install -DTm444 configs/kvmd/edid/$_base.hex \"\$pkgdir/etc/kvmd/tc358743-edid.hex\"
+ ln -s tc358743-edid.hex /etc/kvmd/switch-edid.hex
+ else
+ backup=(\"\${backup[@]}\" etc/kvmd/switch-edid.hex)
+ install -DTm444 configs/kvmd/edid/_no-1920x1200.hex \"\$pkgdir/etc/kvmd/switch-edid.hex\"
fi
mkdir -p \"\$pkgdir/usr/share/kvmd\"