#!/bin/bash

case $LANG in
    es*)
	MSG1="Las utilidades han sido actualizadas."
	TIT1="Descargando..."
    ;;
    gl*)
	MSG1="As utilidades foron actualizadas."
	TIT1="Descargando..."
    ;;
    *)
	MSG1="Utilities updated."
	TIT1="Downloading..."
    ;;
esac


cd /tmp
rm Apps.tgz

wget http://gruvi.galpon.org/minino/2009/Apps.tgz 2>&1|zenity --progress --pulsate --auto-close --title="$TIT1"

tar xzvf Apps.tgz -C ~/

zenity --info --text "$MSG1"
 
