aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-07 05:31:46 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-07 05:31:46 +0200
commit75ed160122bc923731ae1d005d789608a4cdb2fb (patch)
tree97a07ea8aaeb23cc8b2f94e11da7ebf703fbc3a3 /install.sh
parent10d7bf93e864fc6b3c83ad7a913ea05d39256c03 (diff)
Implement kms vaapi capture
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index aa4c802..f898534 100755
--- a/install.sh
+++ b/install.sh
@@ -6,7 +6,8 @@ cd "$script_dir"
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
./build.sh
-install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
+rm -f "/usr/local/bin/gpu-screen-recorder"
+install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
[ -f "/proc/driver/nvidia/version" ] && ./install_coolbits.sh