diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-10-08 10:47:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-08 10:47:58 +0200 |
commit | 8d9797d897c3d70029d25c7486f818ce668c5323 (patch) | |
tree | cf9330f5ee98b6e6b0e70741f936da44635f6500 | |
parent | 951706d32a3f44afed8f56244356cb18f594ba22 (diff) |
Remove /usr/local.. from install/uninstall
-rwxr-xr-x | install.sh | 2 | ||||
-rwxr-xr-x | uninstall.sh | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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 diff --git a/uninstall.sh b/uninstall.sh index 95e26ac..6578baa 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -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" |