Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2882 by niro, Fri Jul 31 09:39:45 2015 UTC revision 2883 by niro, Fri Jul 31 09:42:12 2015 UTC
# Line 337  EOF Line 337  EOF
337    
338  setup_hdd_format()  setup_hdd_format()
339  {  {
340     install -d /tmp
341     :> /tmp/format.log
342    
343   if [[ -n ${SWAPHDD} ]]   if [[ -n ${SWAPHDD} ]]
344   then   then
345   # sanity check - should not happen   # sanity check - should not happen
# Line 357  setup_hdd_format() Line 360  setup_hdd_format()
360   umount "${BOOTHDD}"   umount "${BOOTHDD}"
361   fi   fi
362    
363   mkfs."${FORMAT_FILESYSTEM}" -q "${BOOTHDD}" || dialog_die   mkfs."${FORMAT_FILESYSTEM}" "${BOOTHDD}" &>> /tmp/format.log || dialog_die
364   fi   fi
365    
366   if [[ -n ${ROOTHDD} ]]   if [[ -n ${ROOTHDD} ]]
# Line 369  setup_hdd_format() Line 372  setup_hdd_format()
372   umount "${ROOTHDD}"   umount "${ROOTHDD}"
373   fi   fi
374    
375   mkfs."${FORMAT_FILESYSTEM}" -q "${ROOTHDD}" || dialog_die   mkfs."${FORMAT_FILESYSTEM}" "${ROOTHDD}" &>> /tmp/format.log || dialog_die
376   fi   fi
377  }  }
378    

Legend:
Removed from v.2882  
changed lines
  Added in v.2883