diff options
author | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
commit | 0a9278511b4d4a3b5df9f6232cd0a427b945a630 (patch) | |
tree | 18db516364877f6dd0ebca5a0eddea7b9311b142 /help/C/l10n_scripts/progress.sh | |
parent | debian/watch: Update for GNOME 40 style version numbering (diff) | |
parent | New upstream version 3.41.0 (diff) | |
download | zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.gz zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.bz2 zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.zip |
Update upstream source from tag 'upstream/3.41.0'
Update to upstream version '3.41.0'
with Debian dir e93fe4af08d9574e6a601a2b0269cc470265904a
Diffstat (limited to 'help/C/l10n_scripts/progress.sh')
-rwxr-xr-x | help/C/l10n_scripts/progress.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/help/C/l10n_scripts/progress.sh b/help/C/l10n_scripts/progress.sh new file mode 100755 index 00000000..225c90ab --- /dev/null +++ b/help/C/l10n_scripts/progress.sh @@ -0,0 +1,18 @@ +#!/bin/sh +( +echo "10" ; sleep 1 +echo "# Updating mail logs" ; sleep 1 +echo "20" ; sleep 1 +echo "# Resetting cron jobs" ; sleep 1 +echo "50" ; sleep 1 +echo "This line will just be ignored" ; sleep 1 +echo "75" ; sleep 1 +echo "# Rebooting system" ; sleep 1 +echo "100" ; sleep 1 +) | +zenity --progress --title="Update System Logs" --text="Scanning mail logs..." --percentage=0 + +if [ "$?" = -1 ] ; then + zenity --error --text="Update cancelled." +fi + |