#!/bin/sh ( echo "10" echo "20" echo "50" echo "75" echo "100" ) | zenity --progress \ --title="Installing Web Browser" \ --text="Beginning installation..." \ --percentage=0 if [ "$?" = -1 ] ; then zenity --error \ --text="Installation was canceled." fi