Magellan Linux

Diff of /trunk/mage/patches/mage-0.4.94-busybox-etc-update.patch

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

revision 2250 by niro, Mon Aug 12 08:03:08 2013 UTC revision 2251 by niro, Mon Aug 12 08:24:03 2013 UTC
# Line 1  Line 1 
1  Index: mage/usr/lib/mage/etc-update  Index: mage/usr/lib/mage/etc-update
2  ===================================================================  ===================================================================
3  --- mage/usr/lib/mage/etc-update (Revision 2143)  --- mage/usr/lib/mage/etc-update (Revision 2142)
4  +++ mage/usr/lib/mage/etc-update (Arbeitskopie)  +++ mage/usr/lib/mage/etc-update (Arbeitskopie)
5  @@ -314,6 +314,11 @@  @@ -313,7 +313,11 @@
6     read my_input
7   case ${my_input} in   case ${my_input} in
8   1) echo "Replacing ${ofile} with ${mfile}"   1) echo "Replacing ${ofile} with ${mfile}"
9     chmod --reference=${ofile} ${mfile}  -   chmod --reference=${ofile} ${mfile}
10  +   # busybox does not support --reference  +   # busybox does not support --reference
11  +   if ! chmod --reference=${ofile} ${mfile} > /dev/null 2&>1  +   if ! chmod --reference=${ofile} ${mfile} > /dev/null 2&>1
12  +   then  +   then

Legend:
Removed from v.2250  
changed lines
  Added in v.2251