mirror of
https://github.com/Relintai/rpi-fbcp.git
synced 2024-11-20 06:58:53 +01:00
Remove the build dir if already exists.
This commit is contained in:
parent
1db460953a
commit
1e08c8eb24
1
pitft.py
1
pitft.py
@ -331,6 +331,7 @@ def install_fbcp():
|
||||
if not shell.run_command("apt-get --yes --allow-downgrades --allow-remove-essential --allow-change-held-packages install cmake", True):
|
||||
warn_exit("Apt failed to install software!")
|
||||
|
||||
shell.run_command("rm -Rf build")
|
||||
shell.run_command("mkdir build")
|
||||
shell.chdir("build")
|
||||
print("Building rpi-fbcp...")
|
||||
|
Loading…
Reference in New Issue
Block a user