From ef9672401dcfa71078bc152e156b372e868b967c Mon Sep 17 00:00:00 2001 From: josch Date: Wed, 7 Jan 2015 21:16:36 +0100 Subject: bin/find_dpkg_trigger_cycles.sh: modify regex to also match on empty directories as these also activate file triggers --- bin/find_dpkg_trigger_cycles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh index f3c70206..65e88942 100755 --- a/bin/find_dpkg_trigger_cycles.sh +++ b/bin/find_dpkg_trigger_cycles.sh @@ -193,7 +193,7 @@ cat $DIRECTORY/interested-file | while read pkg ttype ipath; do $DIRECTORY/var/lib/apt/lists/*_dists_${DIST}_main_binary-${ARCH}_Packages \ | awk '/^package:/ { print $2 }' \ | apt-file $APT_FILE_OPTS show -F --from-file - \ - | sed -ne "s ^\([^:]\+\):\s\+\(${ipath}/.*\) \1\t\2 p" \ + | sed -ne "s ^\([^:]\+\):\s\+\(${ipath}\) \1\t\2 p" \ | while read dep cpath; do [ "$pkg" != "$dep" ] || continue echo "$pkg $ipath $dep $cpath" -- cgit v1.2.3-70-g09d2