aboutsummaryrefslogtreecommitdiff
path: root/install_ubuntu.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-02 01:24:11 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-02 01:24:11 +0200
commit5d92b53f1c352b2629fc0b7dbd300b7a7609087b (patch)
treec0a82ab24cd938c3767a34632a8ef151965e31df /install_ubuntu.sh
parentb99652ee289c9ef1a8fbe0f46c9128af1746d139 (diff)
Add install script for non ubuntu / (arch) distros
Diffstat (limited to 'install_ubuntu.sh')
-rwxr-xr-xinstall_ubuntu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_ubuntu.sh b/install_ubuntu.sh
index 768475d..edc02ed 100755
--- a/install_ubuntu.sh
+++ b/install_ubuntu.sh
@@ -20,7 +20,7 @@ libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
g++ -c src/sound.cpp -O2 $includes
g++ -c src/main.cpp -O2 $includes
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs
-install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
+install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
echo "Successfully installed gpu-screen-recorder"
[ "$cuda_missing" -eq 1 ] && echo "You need to reboot your computer before using gpu-screen-recorder because cuda was installed"