Diff of /tags/installer-simple-0_4_90_20140108_3/bin/installer.sh.in
Parent Directory | Revision Log | 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 |
|