Magellan Linux

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

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

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

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