Magellan Linux

Diff of /branches/mage-next/src/etc-update.in

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

revision 2636 by niro, Tue Mar 4 10:59:45 2014 UTC revision 2637 by niro, Thu Mar 27 08:15:57 2014 UTC
# Line 311  Please select from the menu above (-1 to Line 311  Please select from the menu above (-1 to
311   read my_input   read my_input
312   case ${my_input} in   case ${my_input} in
313   1) echo "Replacing ${ofile} with ${mfile}"   1) echo "Replacing ${ofile} with ${mfile}"
314     chmod --reference=${ofile} ${mfile}     # busybox does not support --reference
315       if ! chmod --reference=${ofile} ${mfile} > /dev/null 2&>1
316       then
317          chmod $(stat -c %a ${ofile}) ${mfile}
318       fi
319     mv ${mv_opts} ${mfile} ${ofile}     mv ${mv_opts} ${mfile} ${ofile}
320     rm ${rm_opts} ${file}     rm ${rm_opts} ${file}
321     return 255     return 255

Legend:
Removed from v.2636  
changed lines
  Added in v.2637