summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-26 14:34:28 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-26 14:34:28 +0000
commit2b99f6420f38fcf44ce1acfe56590db714259e21 (patch)
tree0f92aaea46633da5a86b2478743629415f57d1fe /rescue
parent72f86d8886a064108e614940a5e72a7e8af0beab (diff)
downloaddrakx-backup-do-not-use-2b99f6420f38fcf44ce1acfe56590db714259e21.tar
drakx-backup-do-not-use-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.gz
drakx-backup-do-not-use-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.bz2
drakx-backup-do-not-use-2b99f6420f38fcf44ce1acfe56590db714259e21.tar.xz
drakx-backup-do-not-use-2b99f6420f38fcf44ce1acfe56590db714259e21.zip
cosmetics
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/restore-image.sh12
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