Update install.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-03 06:41:39 +00:00
parent 6385d6fd9e
commit 177bb82206
1 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,18 @@
#!/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-aprs" ]
then