Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/grub/grub-1.99-r1.smage2

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

revision 2545 by niro, Sat Jul 2 12:23:33 2011 UTC revision 2546 by niro, Sat Jul 2 12:26:03 2011 UTC
# Line 120  src_install() Line 120  src_install()
120    
121   # user custom creation scripts and delete the provided ones   # user custom creation scripts and delete the provided ones
122   local i   local i
123   for i in 10_* 20_* 30_* 40_* 41_* README   for i in ${BINDIR}/etc/grub.d/10_* \
124     ${BINDIR}/etc/grub.d/20_* \
125     ${BINDIR}/etc/grub.d/30_* \
126     ${BINDIR}/etc/grub.d/40_* \
127     ${BINDIR}/etc/grub.d/41_* \
128     ${BINDIR}/etc/grub.d/README
129   do   do
130   if [[ -f /etc/grub.d/${i} ]]   if [[ -f ${i} ]]
131   then   then
132   rm /etc/grub.d/${i} || die   rm ${i} || die
133   fi   fi
134   done   done
135   mcinjectexec 05_alx_header /etc/grub.d/ || die   mcinjectexec 05_alx_header /etc/grub.d/ || die

Legend:
Removed from v.2545  
changed lines
  Added in v.2546