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 |