1 diff -rc checkinstall-orig/checkinstall checkinstall/checkinstall
2 *** checkinstall-orig/checkinstall 2009-03-12 13:40:24.000000000 +0100
3 --- checkinstall/checkinstall 2009-03-27 14:51:55.000000000 +0100
7 # Find regular files first
8 [ $DEBUG -gt 0 ] && echo "debug: BASE_TMP_DIR: $BASE_TMP_DIR"
9 ! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access)' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u > /${TMP_DIR}/newfiles
12 ! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access)' | cut -f 4 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | grep -v "#success" | sort -u >> /${TMP_DIR}/newfiles
13 # Create another list of modified files that exclude all files the
14 # install script wanted to create but did not, e.g because they already
18 # Find regular files first
19 [ $DEBUG -gt 0 ] && echo "debug: BASE_TMP_DIR: $BASE_TMP_DIR"
20 ! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access|mkdir)' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u > /${TMP_DIR}/newfiles
23 ! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access|mkdir)' | cut -f 4 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | grep -v "#success" | sort -u >> /${TMP_DIR}/newfiles
25 ! # And finally newly created directories.
26 ! cat /${TMP_DIR}/newfiles.tmp | egrep '^0[[:space:]]+mkdir[[:space:]]+' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u >> /${TMP_DIR}/newfiles
28 # Create another list of modified files that exclude all files the
29 # install script wanted to create but did not, e.g because they already
35 ( cat /${TMP_DIR}/newfiles | while read i; do
36 ! if [ ! -d "${TRANSLROOT}${i}" -o -L "${TRANSLROOT}${i}" ]; then
39 done ) > /${TMP_DIR}/newfiles-tar
41 # Here it gets tricky: we need to copy all new files to our build dir,
45 ( cat /${TMP_DIR}/newfiles | while read i; do
47 done ) > /${TMP_DIR}/newfiles-tar
49 # Here it gets tricky: we need to copy all new files to our build dir,