aboutsummaryrefslogtreecommitdiff
path: root/install_ubuntu.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-04 01:37:08 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-04 01:37:08 +0200
commite277abe843e6ad38b2a727b593fdc83f11164821 (patch)
tree1efdbb4cc05afc8094221cfc1556e453c2489586 /install_ubuntu.sh
parente80d7676d495ec703f0cedc10599e7c0d49a4f92 (diff)
Stupid mistake. Old /usr/local/bin/gpu-screen-recorder overwrites /usr/bin/gpu-screen-recorder path. Make installer install to both paths to fix past mistakes
Diffstat (limited to 'install_ubuntu.sh')
-rwxr-xr-xinstall_ubuntu.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/install_ubuntu.sh b/install_ubuntu.sh
index edc02ed..0e36542 100755
--- a/install_ubuntu.sh
+++ b/install_ubuntu.sh
@@ -20,6 +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"