Annotation of /trunk/mage/patches/mage-0.4.25-config-protect-register-ignored-too.patch
Parent Directory | Revision Log
Revision 1323 -
(hide annotations)
(download)
Thu May 12 21:18:57 2011 UTC (13 years, 4 months ago) by niro
File size: 676 byte(s)
Thu May 12 21:18:57 2011 UTC (13 years, 4 months ago) by niro
File size: 676 byte(s)
-added patch to fix config protect, that ignored files get registered too
1 | niro | 1323 | Index: mage/usr/lib/mage/mage4.functions.sh |
2 | =================================================================== | ||
3 | --- mage/usr/lib/mage/mage4.functions.sh (Revision 1273) | ||
4 | +++ mage/usr/lib/mage/mage4.functions.sh (Arbeitskopie) | ||
5 | @@ -272,7 +272,15 @@ | ||
6 | echo -en "${COLDEFAULT}" | ||
7 | echo " === FILE: ${MROOT}${pathto}" | ||
8 | fi | ||
9 | - # simply do nothing here | ||
10 | + # simply do nothing here - only fix mtime | ||
11 | + fix_descriptor ${pkgname}/.files \ | ||
12 | + "${pathto}" \ | ||
13 | + "${posix}" \ | ||
14 | + "${user}" \ | ||
15 | + "${group}" \ | ||
16 | + "$(fix_mtime "${BUILDDIR}/${pkgname}"/.mtime \ | ||
17 | + "${MROOT}${pathto}")" \ | ||
18 | + "${md5sum}" | ||
19 | ;; | ||
20 | esac | ||
21 | done < ${BUILDDIR}/${pkgname}/.files |