Magellan Linux

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

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

revision 2487 by niro, Wed Jan 8 12:11:44 2014 UTC revision 2488 by niro, Wed Jan 8 12:13:30 2014 UTC
# Line 102  install_meter() Line 102  install_meter()
102    
103  mount_rootfs()  mount_rootfs()
104  {  {
105   local retval   is_mounted --location "${INSTALLROOT}" || mount "${ROOTHDD}" "${INSTALLROOT}"
   
  if is_mounted --location "${INSTALLROOT}"  
  then  
  echo $"${INSTALLROOT} already mounted" >&2  
  else  
  mount "${ROOTHDD}" "${INSTALLROOT}" || dialog_die $"Could not mount rootfs - drive'${ROOTHDD}' -> '${INSTALLROOT}'"  
  fi  
106   [[ -d ${INSTALLROOT}/boot ]] || install -d ${INSTALLROOT}/boot   [[ -d ${INSTALLROOT}/boot ]] || install -d ${INSTALLROOT}/boot
107  }  }
108    

Legend:
Removed from v.2487  
changed lines
  Added in v.2488