Magellan Linux

Diff of /trunk/mage/usr/lib/mage/pkgbuild_dir.sh

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

revision 1270 by niro, Fri Jan 28 21:50:22 2011 UTC revision 1271 by niro, Wed Apr 27 08:42:24 2011 UTC
# Line 139  build_postinstall() Line 139  build_postinstall()
139   ;;   ;;
140    
141   "block special file")   "block special file")
142   echo "${I#${SEARCHDIRS}*}§${FILEPOSIX}§${FILEOWNER}§${FILEGROUP}" >> ${BUILDDIR}/${PKGNAME}/.pipes   # convert hex2dec
143     #  printf '%d' 0x12 -> 18
144     local CHAR_MAJOR="$(printf 0x$(stat -c %t $I))"
145     local CHAR_MINOR="$(printf 0x$(stat -c %T $I))"
146     echo "${I#${SEARCHDIRS}*}§${FILEPOSIX}§${FILEPOSIX}§${CHAR_MAJOR}§${FILEOWNER}§${FILEGROUP}" >> ${BUILDDIR}/${PKGNAME}/.pipes
147   ;;   ;;
148    
149   "character special file")   "character special file")

Legend:
Removed from v.1270  
changed lines
  Added in v.1271