Fix install-all and update

This commit is contained in:
TotallyNotElite 2018-06-08 17:50:50 +02:00
parent f617f1353e
commit d3a1317297
2 changed files with 3 additions and 23 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
rm ../install-all
#
@ -12,24 +14,6 @@ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sud
git fetch;git pull origin;git submodule update --remote --recursive
#
# Install libglez
#
cd libglez;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install libxoverlay
#
cd libxoverlay;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install Simple-ipc
#
cd simple-ipc;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Build cathook
#

6
update
View File

@ -2,10 +2,6 @@
sudo echo Elevated
#Get updated source code
git fetch;git pull origin;git submodule update --remote --recursive
#Update dependencies
cd ./libglez/build; cmake ..; make;sudo make install;cd ..; cd ..
cd ./libxoverlay/build; cmake ..; make;sudo make install;cd ..; cd ..
cd ./simple-ipc/build; cmake ..; make;sudo make install;cd ..; cd ..
#Update cathook
cd build; cmake ..; make; cd ..; cd ..
printf "\n\n";printf '\e[1;34m%-6s\e' "Cathook update complete!";printf "\n\n"
printf "\n\n";printf '\e[1;34m%-6s\e' "Cathook update complete!";printf "\n\n"