summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-05 13:38:48 +0100
committerraveit65 <[email protected]>2021-02-27 09:59:31 +0100
commit9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f (patch)
treedb41ad137afc60824d123c42020247971badc1cc /data
parent6a216768f15d6968910da148f08b15c5cf1300fa (diff)
downloadengrampa-9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f.tar.bz2
engrampa-9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f.tar.xz
packages.match: add and run update-packages-match script
Diffstat (limited to 'data')
-rw-r--r--data/packages.match2
-rwxr-xr-xdata/update-packages-match2
2 files changed, 4 insertions, 0 deletions
diff --git a/data/packages.match b/data/packages.match
index 65b7981..49f5d23 100644
--- a/data/packages.match
+++ b/data/packages.match
@@ -1,4 +1,5 @@
[Package Matches]
+arc=
arj=
binutils=
brotli=
@@ -13,6 +14,7 @@ lzip=
lzma=
lzop=
ncompress=
+nomarch=
p7zip=
p7zip-full=
p7zip-rar=
diff --git a/data/update-packages-match b/data/update-packages-match
new file mode 100755
index 0000000..4a1a8e3
--- /dev/null
+++ b/data/update-packages-match
@@ -0,0 +1,2 @@
+list=`find .. -iname "*.c" | xargs grep PACKAGES | sed -e 's/.*PACKAGES[ ]*[(]"\([^"]*\)"[)];/\1/g' -e 's/,/\n/g' | sort -u | sed -e 's/\(.*\)/\1=/g' | tr '\n' '|'`
+sed -e 's/@NAMES@/'"$list"'/g' < packages.match.in | tr '|' '\n' > packages.match