Changeset 3748 in MondoRescue


Ignore:
Timestamp:
Nov 20, 2019, 5:44:07 PM (4 years ago)
Author:
Bruno Cornec
Message:

Avoid error in copy on distros not using btrfs subvols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mindi

    r3746 r3748  
    24182418    mkdir -p $bigdir/tmp
    24192419    cp -f $MINDI_TMP/mountlist.txt $bigdir/tmp/mountlist.txt 2>> $LOGFILE || Die "Cannot copy mountlist.txt from $MINDI_TMP to data disk"
    2420     cp -f $MINDI_TMP/create-btrfs-subvol $MINDI_TMP/mount-btrfs-subvol $MINDI_TMP/umount-btrfs-subvol $bigdir/tmp/ 2>> $LOGFILE || Die "Cannot copy subvol scripts from $MINDI_TMP to data disk"
     2420    for i in create-btrfs-subvol mount-btrfs-subvol umount-btrfs-subvol; do
     2421        if [ -r  $MINDI_TMP/$i ]; then
     2422            cp -f $MINDI_TMP/$i $bigdir/tmp/ 2>> $LOGFILE || Die "Cannot copy subvol script $MINDI_TMP/$i to data disk"
     2423        fi
     2424    done
    24212425    if [ _"$MONDO_SHARE" != _"" ]; then
    24222426        cp -f $bigdir/tmp/mountlist.txt $MINDI_TMP/. 2>> $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.