Update install.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-03 06:39:58 +00:00
parent 3f4c56f540
commit 643fca9f8a
1 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,18 @@
#!/bin/bash #!/bin/bash
sudo apt install python3 -y
apps=("python3")
for app in "${apps[@]}"
do
# Verificar apps
if ! dpkg -s "$app" >/dev/null 2>&1; then
# app no instalada
sudo apt-get install -y "$app"
else
# app ya instalada
echo "$app ya instalada"
fi
done
if [ -d "/opt/python-wx" ] if [ -d "/opt/python-wx" ]
then then