mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
a6ed5e6516
commit
21f79d8c84
|
|
@ -20,20 +20,20 @@ fi
|
||||||
# requeriments
|
# requeriments
|
||||||
#########################################################################################################################
|
#########################################################################################################################
|
||||||
|
|
||||||
apps=("git" "gcc" "g++" "make" "cmake" "libasound2-dev" "libudev-dev" "gpsd" "gpsd-clients" "libgps-dev" "ntp" "avahi-daemon" "libavahi-client-dev")
|
apps=("git" "gcc" "g++" "make" "cmake" "libasound2-dev" "libudev-dev" "gpsd-clients" "libgps-dev" "ntp" "avahi-daemon" "libavahi-client-dev")
|
||||||
|
|
||||||
for app in "${apps[@]}"
|
for app in "${apps[@]}"
|
||||||
do
|
do
|
||||||
# Verificar apps
|
# Verificar apps
|
||||||
if ! dpkg -s "$app" >/dev/null 2>&1; then
|
if ! dpkg -s "$app" >/dev/null 2>&1; then
|
||||||
# app no instalada
|
# app no instalada
|
||||||
sudo apt-get install -y "$app"
|
apt-get install -y "$app"
|
||||||
else
|
else
|
||||||
# app ya instalada
|
# app ya instalada
|
||||||
echo "$app ya instalada"
|
echo "$app ya instalada"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
apt-get install gpsd -y
|
||||||
#########################################################################################################################
|
#########################################################################################################################
|
||||||
# GPSD
|
# GPSD
|
||||||
#########################################################################################################################
|
#########################################################################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue