Magellan Linux

Diff of /trunk/grubby/new-kernel-pkg

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

revision 2247 by niro, Mon Oct 21 13:52:07 2013 UTC revision 2248 by niro, Mon Oct 21 13:55:31 2013 UTC
# Line 404  remove() Line 404  remove()
404   fi   fi
405    
406   mv ${tmpKList} ${ubootDir}/${ubootKList}   mv ${tmpKList} ${ubootDir}/${ubootKList}
407     [ -x /sbin/a-b-c ] && /sbin/a-b-c
408   else   else
409   [[ -n ${verbose} ]] && echo "uImage ${newversion} does not exist!"   [[ -n ${verbose} ]] && echo "uImage ${newversion} does not exist!"
410   [ -f ${tmpKList} ] && rm -f ${tmpKList}   [ -f ${tmpKList} ] && rm -f ${tmpKList}
# Line 530  update() Line 531  update()
531   [[ -n ${verbose} ]] && echo "copy uInitrd-${version} error, kernel not installed!" && exit   [[ -n ${verbose} ]] && echo "copy uInitrd-${version} error, kernel not installed!" && exit
532   fi   fi
533   echo ${version} >> ${ubootDir}/${ubootKList}   echo ${version} >> ${ubootDir}/${ubootKList}
534     [ -x /sbin/a-b-c ] && /sbin/a-b-c
535   else   else
536   [[ -n ${verbose} ]] && echo "cannot make ${version} the default"   [[ -n ${verbose} ]] && echo "cannot make ${version} the default"
537   fi   fi

Legend:
Removed from v.2247  
changed lines
  Added in v.2248