aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-09-20 12:01:14 +0200
committerdec05eba <dec05eba@protonmail.com>2023-09-20 12:01:14 +0200
commit6024beca4e37112a23f18d74500b3aeae235d48d (patch)
tree5cc707078f21ac1ca7d3ac06029a5904f52b4dd3 /install.sh
parente63ecd2e025b22d70f7103851e709844606750c9 (diff)
Install: apply setcap after install
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 983aaf7..66c3241 100755
--- a/install.sh
+++ b/install.sh
@@ -9,9 +9,9 @@ cd "$script_dir"
strip gsr-kms-server
strip gpu-screen-recorder
rm -f "/usr/local/bin/gpu-screen-recorder"
-setcap cap_sys_admin+ep gsr-kms-server
-setcap cap_sys_nice+ep 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
+setcap cap_sys_nice+ep /usr/bin/gpu-screen-recorder
echo "Successfully installed gpu-screen-recorder"