summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 15:42:19 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 15:42:19 +0000
commit6a2f28243ea9f8c84e78771ab2fca88b3f904545 (patch)
tree981d48f91595ecff62be28e3a96f3ac7ecf03fc2
parentb0481b1e1275b2a4d930791ec58b2cf56b2199e0 (diff)
downloaddrakx-6a2f28243ea9f8c84e78771ab2fca88b3f904545.tar-rw-r--r--perl-install/ChangeLog39
1 files changed, 39 insertions, 0 deletions
diff --git a/perl-install/ChangeLog b/perl-install/ChangeLog
index 13f647633..f779754e7 100644
--- a/perl-install/ChangeLog
+++ b/perl-install/ChangeLog
wxr-xr-x
rescue/restore-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 8a216ac8a..c6543430e 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -137,10 +137,10 @@ function detect_win32()
# get the last created windows partition information
set -f
- first_win32_part_dev=$(fdisk -l | grep "^/dev/" | grep -v ${inst_source_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//')
+ device=$(fdisk -l | grep "^/dev/" | grep -v ${inst_source_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//')
set +f
- if [ -z "${first_win32_part_dev}" ]; then
+ if [ -z "${device}" ]; then
exit
fi