Update install.sh
This commit is contained in:
parent
3f4c56f540
commit
643fca9f8a
14
install.sh
14
install.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue