aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh2
-rwxr-xr-xuninstall.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 66c3241..1ea57bf 100755
--- a/install.sh
+++ b/install.sh
@@ -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"