Remove /usr/local.. from install/uninstall

This commit is contained in:
dec05eba 2023-10-08 10:47:58 +02:00
parent 951706d32a
commit 8d9797d897
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@ cd "$script_dir"
./build.sh
strip gsr-kms-server
strip 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"
setcap cap_sys_admin+ep /usr/bin/gsr-kms-server

View File

@ -2,7 +2,6 @@
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the uninstall script" && exit 1
rm -f "/usr/local/bin/gpu-screen-recorder"
rm -f "/usr/bin/gsr-kms-server"
rm -f "/usr/bin/gpu-screen-recorder"