modify regex to also match on empty directories as these also activate file triggers
This commit is contained in:
parent
303a1fb33d
commit
b4cd04ac1b
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -85,7 +85,7 @@ cat $DIRECTORY/interested-file | while read pkg ttype ipath; do
|
||||||
$HOME/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_binary-${ARCH}_Packages \
|
$HOME/.chdist/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_binary-${ARCH}_Packages \
|
||||||
| awk '/^package:/ { print $2 }' \
|
| awk '/^package:/ { print $2 }' \
|
||||||
| apt-file $APT_FILE_OPTS show -F --from-file - \
|
| 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
|
| while read dep cpath; do
|
||||||
[ "$pkg" != "$dep" ] || continue
|
[ "$pkg" != "$dep" ] || continue
|
||||||
echo "$pkg $ipath $dep $cpath"
|
echo "$pkg $ipath $dep $cpath"
|
||||||
|
|
Loading…
Reference in a new issue