Chiaki: first remove ~/Chiaki

pull/953/head
Botspot 4 years ago
parent 4e6afd0d46
commit 366c9ab4f3

@ -11,6 +11,7 @@ function error {
"${DIRECTORY}/pkg-install" "cmake python3-protobuf protobuf-compiler libavcodec-dev libopus-dev libsdl2-dev libssl-dev qt5-default qtmultimedia5-dev libqt5svg5-dev libqt5multimedia5-plugins libqt5opengl5-dev" "$(dirname "$0")" || exit 1
# install Chiaki
rm -rf ~/Chiaki || error "Failed to first remove $HOME/Chiaki folder!"
git clone --single-branch --branch rpi01 https://github.com/Fredrum/chiaki.git Chiaki || error "failed to clone the Chiaki repository!"
cd Chiaki || error "failed to enter the Chiaki folder!"
git submodule update --init || error "failed to update the Chiaki submodule!"

Loading…
Cancel
Save