Changeset 196 in MondoRescue for branches/2.05/mindi/parted2fdisk.pl
- Timestamp:
- Dec 14, 2005, 12:04:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mindi/parted2fdisk.pl
r90 r196 306 306 my $cmd = shift; 307 307 my $basename = basename($cmd); 308 my $mindifdisk="/usr/local/bin/fdisk"; 309 310 if ($cmd =~ /fdisk/) { 311 if ($arch =~ /^ia64/) { 312 if (-l $cmd) { 313 print FLOG "Your system is ready for mondo-archive on ia64\n"; 314 } else { 315 print FLOG "Your system is ready for mondo-restore on ia64\n"; 316 } 317 if (-x $mindifdisk) { 318 $cmd = $mindifdisk; 319 } else { 320 print FLOG "Your system doesn't provide $mindifdisk\n"; 321 print FLOG "Please use mindi-x.yz-ia64.rpm on the system to backup\n"; 322 myexit(-1); 323 } 324 } 325 } 308 326 309 if (not (-x $cmd)) { 327 310 print FLOG "Your system is not LSB/mondo compliant: $basename was not found as $cmd\n";
Note:
See TracChangeset
for help on using the changeset viewer.