Remove /usr/local.. from install/uninstall
This commit is contained in:
parent
951706d32a
commit
8d9797d897
@ -8,7 +8,7 @@ cd "$script_dir"
|
|||||||
./build.sh
|
./build.sh
|
||||||
strip gsr-kms-server
|
strip gsr-kms-server
|
||||||
strip gpu-screen-recorder
|
strip gpu-screen-recorder
|
||||||
rm -f "/usr/local/bin/gpu-screen-recorder"
|
|
||||||
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
|
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
|
||||||
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
|
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
|
||||||
setcap cap_sys_admin+ep /usr/bin/gsr-kms-server
|
setcap cap_sys_admin+ep /usr/bin/gsr-kms-server
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the uninstall script" && exit 1
|
[ $(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/gsr-kms-server"
|
||||||
rm -f "/usr/bin/gpu-screen-recorder"
|
rm -f "/usr/bin/gpu-screen-recorder"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user