Changeset 2457 in MondoRescue
- Timestamp:
- Oct 9, 2009, 1:33:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2456 r2457 97 97 ISO_CMD="/usr/bin/mkisofs" 98 98 ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi" 99 100 # Mandriva system e.g. use cdrkit, which uses genisoimage instead of mkisofs. 101 # However, they use exactly the same command line parameters, so just 102 # use genisoimage if it's available. 103 if [ ! -x $ISO_CMD ]; then 104 ISO_CMD=/usr/bin/genisoimage 105 fi 99 106 100 107 # Now we can create what we need … … 1334 1341 OfferToMakeBootableISO() { 1335 1342 local i old_pwd 1343 if [ -z "$ISO_CMD" ]; then 1344 LogIt "Neither mkisofs nor genisoimage found, unable to make CD image" 1345 return 1346 fi 1336 1347 if [ "$PROMPT_MAKE_CD_IMAGE" = "yes" ] && [ _"$MONDO_SHARE" = _"" ]; then 1337 1348 echo -en "Shall I make a bootable CD image? (y/[n]) " … … 2669 2680 fi 2670 2681 2682 # Check for ISO_CMD command 2683 if [ ! -x $ISO_CMD ]; then 2684 echo "NOTE: No CD image (ISO file) utility found" >> $LOGFILE 2685 fi 2686 2671 2687 FLOPPY_WAS_MOUNTED="" 2672 2688 for mtpt in /media/floppy /mnt/floppy /floppy ; do
Note:
See TracChangeset
for help on using the changeset viewer.