mirror of
https://github.com/Relintai/pi_player.git
synced 2024-11-12 08:45:35 +01:00
30 lines
328 B
Bash
Executable File
30 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
if [ ! -d "repos" ]; then
|
|
mkdir repos
|
|
fi
|
|
|
|
cd repos
|
|
|
|
if [ ! -d "fbcp_ili" ]; then
|
|
git clone https://github.com/juj/fbcp-ili9341.git fbcp_ili
|
|
|
|
#install dependencies
|
|
sudo apt install -y cmake
|
|
else
|
|
cd fbcp_ili
|
|
|
|
git reset
|
|
git reset --hard
|
|
git pull origin master
|
|
git reset
|
|
git reset --hard
|
|
|
|
cd ..
|
|
fi
|
|
|
|
cd ..
|
|
|
|
|