diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-09-28 01:57:21 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-09-28 01:57:21 +0200 |
commit | e7983362e6242d6d14b29723cd76db59f5532484 (patch) | |
tree | d14cdf17142b2373501608d94881b1f327227871 /backend/modules/install_main | |
parent | dbc4e5afece7d88daed8628d7fbfef1c6d856c4d (diff) | |
download | acritoxinstaller-e7983362e6242d6d14b29723cd76db59f5532484.zip acritoxinstaller-e7983362e6242d6d14b29723cd76db59f5532484.tar.gz |
progress corrections
Diffstat (limited to 'backend/modules/install_main')
-rw-r--r-- | backend/modules/install_main | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main index 2c1f931..4705b65 100644 --- a/backend/modules/install_main +++ b/backend/modules/install_main @@ -38,7 +38,11 @@ EOF while IFS=: read device mountpoint filesystem automount do - [ -z "$mountpoint" ] && continue + if [ -z "$mountpoint" ]; then + # update progress + progress=$[progress+1]; emit_progress $[100*progress/progress_steps] + continue + fi fstab_options=""; fstab_dump=0; fstab_pass=2; fstab_type="" [ -z "$fstab_type" ] && fstab_type=$filesystem |