Changeset 3384


Ignore:
Timestamp:
May 13, 2015, 1:57:44 PM (4 years ago)
Author:
bruno
Message:
  • mindi-get-perl-modules should also analyse under /usr/sbin (for mr-parte2fdisk)
  • If no grub conf file found under /boot/efi, then print an error msg instead of stay blocked
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3382 r3384  
    26322632
    26332633    # Management of perl scripts delivered needed at restore time
    2634     mindi-get-perl-modules `cat $MINDI_CONF/perl-scripts` /usr/bin/mr-* > $MINDI_TMP/perl.lis
     2634    mindi-get-perl-modules `cat $MINDI_CONF/perl-scripts` /usr/[s]*bin/mr-* > $MINDI_TMP/perl.lis
    26352635    tar cf - `cat $MINDI_TMP/perl.lis` 2>> $MINDI_TMP/$$.log | tar xf - || LogIt "ERROR: Problem in perl scripts analysis" $MINDI_TMP/$$.log
    26362636
     
    30473047if [ -d /boot/efi ]; then
    30483048    gcf=`find /boot/efi -name grub.conf`
    3049     LogFile "-------------"
    3050     LogFile "INFO: $gcf content"
    3051     LogFile "-------------"
    3052     cat $gcf >> $LOGFILE
    3053     LogFile "-------------"
     3049    if [ _"$gcf" = _"" ]; then
     3050        LogFile "Found a /boot/efi directory without a grub.conf file in it"
     3051    else
     3052        LogFile "-------------"
     3053        LogFile "INFO: $gcf content"
     3054        LogFile "-------------"
     3055        cat $gcf >> $LOGFILE
     3056        LogFile "-------------"
     3057    fi
    30543058fi
    30553059
Note: See TracChangeset for help on using the changeset viewer.