We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 073ecc9 commit c76b7c8Copy full SHA for c76b7c8
1 file changed
.github/workflows/create-release-deb.yml
@@ -73,9 +73,14 @@ jobs:
73
dpkg-deb --info "$deb"
74
75
echo "--- matching entries in $deb"
76
- dpkg-deb -c "$deb" | grep -E '\./usr/bin/dls($|/)|\./usr/local|^drwx.*/usr/bin/?$' || true
77
-
78
- if ! dpkg-deb -c "$deb" | grep -Fq './usr/bin/dls'; then
+ dpkg-deb -c "$deb" | awk '
+ /\.\/*usr\/bin\/dls($|\/)/ || /\.\/*usr\/local/ || /^drwx.*\.\/usr\/bin\/?$/ { print }
+ '
79
+
80
+ if ! dpkg-deb -c "$deb" | awk '
81
+ index($0, "./usr/bin/dls") { found=1 }
82
+ END { exit(found ? 0 : 1) }
83
+ '; then
84
echo "ERROR: $deb does not contain /usr/bin/dls"
85
exit 1
86
fi
0 commit comments