CommanderPi: remove folder before cloning

pull/899/head
Botspot 4 years ago
parent e0d06874bf
commit f092ef1a4a

@ -10,6 +10,7 @@ function error {
# Get dependencies
"${DIRECTORY}/pkg-install" "python3-tk python3-pil python3-pil.imagetk" "$(dirname "$0")" || exit 1
rm -rf ~/CommanderPi
git clone https://github.com/Jack477/CommanderPi || error "failed to download repository!"
cd CommanderPi || error "failed to enter repository!"
chmod +x install.sh || error "failed to mark install.sh as executable!"

Loading…
Cancel
Save