Magellan Linux

Diff of /trunk/mage/usr/lib/mage/etc-update

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

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

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