'
echo '
'
echo $"Instalar arquivos .deb"
echo '
'
if [ "$IMPOSSIBLE" != "" ]; then
echo $"Não é possível prosseguir com a instalação.
"
grep -A 200 "following information may help to resolve the situation" /tmp/packages_info_big.txt | grep -v "following information may help to resolve the situation" | sed "s|The following packages have unmet dependencies:|$MSG_DEPENDS_BROKEN
|g;s|Depends|$MSG_DEPENDS|g;s|but it is not going to be installed|$MSG_DEPENDS_NOT_INSTALL
|g;s|but it is not installable|$MSG_NOT_INSTALLABLE
|"
exit 0
fi
if [ "$VALID_DEB" = "" ]; then
echo $"Selecione um pacote .deb válido.
"
exit 0
fi
if [ "$VERIFY_INSTALLED" != "" ]; then
echo $"Um ou mais pacotes já estavam instalados:" "
$(echo "$VERIFY_INSTALLED" | grep "is already the newest version" | sed 's| .*(| - |g;s|).|
|g')"
echo "
"
REINSTALL_BUTTON="1"
fi
if [ "$LOCAL_PACKAGES_TO_INSTALL" != "" ]; then
echo $"Pacotes selecionados para instalar:" "
$LOCAL_PACKAGES_TO_INSTALL
"
echo "
"
INSTALL_BUTTON="1"
fi
if [ "$DOWNLOAD_SIZE" != "0 B" ] && [ "$DOWNLOAD_SIZE" != "" ]; then
echo "
" $"É preciso fazer o download de" "
$DOWNLOAD_SIZE
"
echo "
"
fi
if [ "$NUMBER_NEW_PACKAGES" != "0" ]; then
echo "
" $"Total de pacotes para instalar:" "
$NUMBER_NEW_PACKAGES
"
echo "
"
INSTALL_BUTTON="1"
fi
if [ "$NUMBER_REMOVE_PACKAGES" != "0" ]; then
echo "
" $"Total de pacotes a remover:" "
$NUMBER_REMOVE_PACKAGES
"
echo "
"
fi
if [ "$NUMBER_UPGRADED_PACKAGES" != "0" ]; then
echo "
" $"Pacotes a atualizar:" "
$NUMBER_UPGRADED_PACKAGES
"
echo "
"
INSTALL_BUTTON="1"
fi
if [ "$ADDITIONAL_PACKAGES_TO_INSTALL" != "" ]; then
echo $"Dependencias a serem instaladas:" "
$ADDITIONAL_PACKAGES_TO_INSTALL
"
echo "
"
INSTALL_BUTTON="1"
fi
if [ "$PACKAGES_TO_REMOVE" != "" ]; then
echo $"Pacotes a remover:" "
$PACKAGES_TO_REMOVE
"
echo "
"
fi
if [ "$PACKAGES_TO_UPGRADE" != "" ]; then
echo $"Pacotes para atualizar:" "
$PACKAGES_TO_UPGRADE
"
echo "
"
INSTALL_BUTTON="1"
fi
echo '
'
echo '
'
echo "