Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

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

revision 857 by niro, Sun Oct 5 10:32:24 2008 UTC revision 858 by niro, Fri May 8 07:05:45 2009 UTC
# Line 298  install_symlinks() Line 298  install_symlinks()
298    
299   ln -snf "${link}" "${MROOT}${pathto}"   ln -snf "${link}" "${MROOT}${pathto}"
300    
301   # fix mtime and db  # # fix mtime and db
302   fix_descriptor ${pkgname}/.symlinks \  # fix_descriptor ${pkgname}/.symlinks \
303   "${pathto}" \  # "${pathto}" \
304   "${posix}" \  # "${posix}" \
305   "${link}" \  # "${link}" \
306   "$(fix_mtime "${BUILDDIR}/${pkgname}"/.mtime \  # "$(fix_mtime "${BUILDDIR}/${pkgname}"/.mtime \
307   "${MROOT}${pathto}")"  # "${MROOT}${pathto}")"
308    
309   done < ${BUILDDIR}/${pkgname}/.symlinks   done < ${BUILDDIR}/${pkgname}/.symlinks
310    
311   # now copy the fixed file over the old one  # # now copy the fixed file over the old one
312   [ -f ${BUILDDIR}/${pkgname}/.symlinks_fixed ] && \  # [ -f ${BUILDDIR}/${pkgname}/.symlinks_fixed ] && \
313   cp -f ${BUILDDIR}/${pkgname}/.symlinks{_fixed,}  # cp -f ${BUILDDIR}/${pkgname}/.symlinks{_fixed,}
314    
315   # very important: unsetting the '§' fieldseperator   # very important: unsetting the '§' fieldseperator
316   IFS=$'\n'   IFS=$'\n'

Legend:
Removed from v.857  
changed lines
  Added in v.858