update_vlibras.sh
729 Bytes
#!/bin/bash
#
#
#-------------------- IMPORTANT ------------------------
# -> To run this script you need to be a sudo user |
#-------------------------------------------------------
# Update the list of repositories
apt-get update
if [ $1 == "vlibras-desktop" ]; then
# Install the new version of vlibras-desktop
notify-send -u critical "O VLibras está sendo atualizado! Aguarde..."
#apt-get install --only-upgrade vlibras-desktop
else
if [ $1 == "dicionario-vlibras" ]; then
# Install the new version of dicionario-vlibras
notify-send -u critical "O Dicionário de sinais do VLibras está sendo atualizado..."
#apt-get install --only-upgrade dicionario-vlibras
fi
fi
/./opt/vlibras_desktop/script/launcher.sh