Also update and build other dependencies
This commit is contained in:
parent
f60d434840
commit
4083d988b0
@ -1,8 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo echo Elevated
|
||||
|
||||
cd cathook
|
||||
|
||||
|
||||
cd libglez
|
||||
git fetch >update.log
|
||||
if ! git pull origin $(git rev-parse --abbrev-ref HEAD) >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
@ -12,9 +11,44 @@ if ! git submodule update --remote --recursive >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
}
|
||||
cd build; cmake ..; make;sudo make install;cd ..; cd ..
|
||||
|
||||
cd libxoverlay
|
||||
git fetch >update.log
|
||||
if ! git pull origin $(git rev-parse --abbrev-ref HEAD) >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
if ! git submodule update --remote --recursive >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
cd build; cmake ..; make;sudo make install;cd ..; cd ..
|
||||
|
||||
cd simple-ipc
|
||||
git fetch >update.log
|
||||
if ! git pull origin $(git rev-parse --abbrev-ref HEAD) >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
if ! git submodule update --remote --recursive >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
cd build; cmake ..; make;sudo make install;cd ..; cd ..
|
||||
|
||||
cd cathook
|
||||
git fetch >update.log
|
||||
if ! git pull origin $(git rev-parse --abbrev-ref HEAD) >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
if ! git submodule update --remote --recursive >>update.log; then
|
||||
$DIALOG --title "Error" --backtitle "Updating" --msgbox "An error occured while updating cathook, check update.log for details. It might have been caused by changes in local files - in that case try resetting local repo." 8 78
|
||||
exit
|
||||
fi
|
||||
cd build; cmake ..; make; cd ..; cd ..
|
||||
|
||||
|
||||
cp -a -u ./cathook/tools/. ./; rm ./README; rm ./updater
|
||||
|
||||
|
Reference in New Issue
Block a user