diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-26 14:34:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-26 14:34:28 +0000 |
commit | 2b99f6420f38fcf44ce1acfe56590db714259e21 (patch) | |
tree | 0f92aaea46633da5a86b2478743629415f57d1fe | |
parent | 72f86d8886a064108e614940a5e72a7e8af0beab (diff) | |
download | drakx-2b99f6420f38fcf44ce1acfe56590db714259e21.tar drakx-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.gz drakx-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.bz2 drakx-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.xz drakx-2b99f6420f38fcf44ce1acfe56590db714259e21.zip |
cosmetics
-rwxr-xr-x | rescue/restore-image.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index 61cda588a..32e1cc178 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -248,9 +248,15 @@ function write_image() image=$(cat $images_dir/list | cut -d ',' -f 3) extension=$(echo $image | cut -d '.' -f 3) case $extension in - gz) uncomp=zcat ;; - bz2) uncomp=bzcat ;; - *) uncomp=cat ;; + gz) + uncomp=zcat + ;; + bz2) + uncomp=bzcat + ;; + *) + uncomp=cat + ;; esac skipstart=/bin/true |