Skip to content

Commit

Permalink
More fixes for 24.10
Browse files Browse the repository at this point in the history
  • Loading branch information
MastaG committed Jul 2, 2024
1 parent a0cb89c commit df7b789
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/turnip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
sudo sed -i 's/^Types: deb$/Types: deb deb-src/g' /etc/apt/sources.list.d/*.sources
sudo apt update
sudo apt build-dep mesa -y
sudo apt install -y python3-mako meson
- name: Execute build script
run: bash ./turnip_builder.sh
Expand Down
28 changes: 13 additions & 15 deletions turnip_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,20 @@ run_all(){
check_deps(){
echo "Checking system for required Dependencies ..."
for deps_chk in $deps;
do
sleep 0.25
if command -v "$deps_chk" >/dev/null 2>&1 ; then
echo -e "$green - $deps_chk found $nocolor"
else
echo -e "$red - $deps_chk not found, can't countinue. $nocolor"
deps_missing=1
fi;
done

if [ "$deps_missing" == "1" ]
then echo "Please install missing dependencies" && exit 1
fi
do
sleep 0.25
if command -v "$deps_chk" >/dev/null 2>&1 ; then
echo -e "$green - $deps_chk found $nocolor"
else
echo -e "$red - $deps_chk not found, can't countinue. $nocolor"
deps_missing=1
fi;
done

if [ "$deps_missing" == "1" ]
then echo "Please install missing dependencies" && exit 1
fi

echo "Installing python Mako dependency (if missing) ..." $'\n'
pip install mako &> /dev/null
}

prepare_workdir(){
Expand Down

0 comments on commit df7b789

Please sign in to comment.