Magellan Linux

Diff of /tags/installer-simple-0_4_90_20140703_1/bin/installer.sh.in

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

revision 2486 by niro, Wed Jan 8 10:43:20 2014 UTC revision 2491 by niro, Wed Jan 8 12:22:26 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    
# Line 204  setup_hdd_partitions_auto() Line 211  setup_hdd_partitions_auto()
211   # run this only if FDISKPARTITIONBELOW256MB is not already 1   # run this only if FDISKPARTITIONBELOW256MB is not already 1
212   if [[ ${FDISKPARTIONBELOW256MB} != 1 ]]   if [[ ${FDISKPARTIONBELOW256MB} != 1 ]]
213   then   then
214   if hdd_size_below_256mb ${HDD}   if device_minimum_size "${HDD}" 256
215   then   then
216   FDISKPARTIONBELOW256MB=1   FDISKPARTIONBELOW256MB=1
217   else   else

Legend:
Removed from v.2486  
changed lines
  Added in v.2491