Trying to remove duplicate file bug

This commit is contained in:
Tim
2024-08-14 11:54:09 +02:00
parent cb4f83aba0
commit 96b79db2e0
+8 -2
View File
@@ -45,8 +45,14 @@ sudo apt install vlc python3-rpi.gpio git -y
echo -e "${GREEN}======== Holle Datein ========${NOCOLOR}" echo -e "${GREEN}======== Holle Datein ========${NOCOLOR}"
mkdir ~/PiVideo/ ~/PiVideo/videos/ if ls ~/PiVideo/ 1> /dev/null 2>&1; # Checking if file exsists
cd ~/PiVideo/ then
echo "Folders Already Exist Scipping"
else
echo "Creating Folders"
mkdir ~/PiVideo/ ~/PiVideo/videos/
cd ~/PiVideo/
fi
GH_URL="https://raw.githubusercontent.com/miT-nib-hcI/PiVideo/main/" GH_URL="https://raw.githubusercontent.com/miT-nib-hcI/PiVideo/main/"