diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-09-27 23:28:48 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-09-27 23:28:48 +0200 |
commit | e77e39a73d9553a692745c5e2f64afa827a57412 (patch) | |
tree | 39daae53f0ca695487187b654db9976777b23eb2 /backend/modules/frontend | |
parent | 8c555aa3d5583667a47e3aa1d822b215f0a8a828 (diff) | |
download | acritoxinstaller-e77e39a73d9553a692745c5e2f64afa827a57412.zip acritoxinstaller-e77e39a73d9553a692745c5e2f64afa827a57412.tar.gz |
reordered old code
Diffstat (limited to 'backend/modules/frontend')
-rw-r--r-- | backend/modules/frontend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/modules/frontend b/backend/modules/frontend index 8c6c87c..0463863 100644 --- a/backend/modules/frontend +++ b/backend/modules/frontend @@ -19,3 +19,10 @@ function send_error() return 1 } +function emit_progress() +{ + percent=$1 + [ "$percent" -gt 100 ] && percent=100 + send progress "$percent" +} + |