17 lines
268 B
Bash
17 lines
268 B
Bash
|
#!/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
|