Magellan Linux

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

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

revision 2332 by niro, Fri Jan 3 13:58:23 2014 UTC revision 2334 by niro, Fri Jan 3 14:03:32 2014 UTC
# Line 7  Line 7 
7  # Niels Rogalla <niro@magellan-linux.de>  # Niels Rogalla <niro@magellan-linux.de>
8  #  #
9    
10  source %SYSCONFDIR%/installer.conf  INSTALLER_LIBDIR="%LIBDIR%"
11    
12    # configuration
13    if [ -e %SYSCONFDIR%/installer.conf ]
14    then
15     source %SYSCONFDIR%/installer.conf
16    else
17     die "/etc/installer.conf not found"
18    fi
19    
20  #images: (get ${CDIMAGENAME})  #images: (get ${CDIMAGENAME})
21  source /mnt/cdrom/system/images.conf  if [ -e /mnt/cdrom/system/images.conf ]
22    then
23     source /mnt/cdrom/system/images.conf
24    else
25     die "/mnt/cdrom/system/images.conf not found"
26    fi
27    
28  #Includes  #Includes
29  source /usr/lib/installer/functions/findhdd.sh > /dev/null  if [ -e ${INSTALLER_LIBDIR}/functions/findhdd.sh ]
30    then
31     source ${INSTALLER_LIBDIR}/functions/findhdd.sh > /dev/null
32    else
33     die "${INSTALLER_LIBDIR}/functions/findhdd.sh not found"
34    fi
35    
36  ### bugfix ###############################  ### bugfix ###############################
37  cdromdev="$(echo ${cdromdev} | sed 's/ //')"  cdromdev="$(echo ${cdromdev} | sed 's/ //')"
38  ########################################  ########################################

Legend:
Removed from v.2332  
changed lines
  Added in v.2334