summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-06-06 12:47:26 +0200
committerErich Eckner <git@eckner.net>2016-06-06 12:47:26 +0200
commit99cdb1766ab682654274b322ef16bb5a3a2781df (patch)
treec0ed7b7e1a16ef8f9ef64f8e7044818ed1d5209a
parent2cbdb50c6be73849cab42ac747b4eea5edf5c429 (diff)
downloadarchlinuxewe.git.save-99cdb1766ab682654274b322ef16bb5a3a2781df.tar.xz
testeAbhaengigkeiten kann nun noch mehr Versionsnummern
-rwxr-xr-xtesteAbhaengigkeiten4
1 files changed, 2 insertions, 2 deletions
diff --git a/testeAbhaengigkeiten b/testeAbhaengigkeiten
index 7a10a099..26ca5a53 100755
--- a/testeAbhaengigkeiten
+++ b/testeAbhaengigkeiten
@@ -76,7 +76,7 @@ meta="$(
P;
D
' | \
- sed "/^provides: /s@\(\s\S\+\):\s\+version: '\?v\?\([0-9.]\+\)'\?@\L\1=\2@g" | \
+ sed "/^provides: /s@\(\s\S\+\):\s\+version:\s\+'\?v\?\([0-9.]\+\)'\?@\L\1=\2@g" | \
sed "/^provides: /s@\s@ @g" | \
sed "/^provides: /s@\(\s[^= ]\+\):\+\(\s\|\$\)@\L\1=${pkgver}\2@g" | \
sed "s@\(\sperl:\s\+\)'\?\([[:digit:]]\+\)\.\([[:digit:]]\{3\}\)'\?\(\s\|\$\)@\1\2.\3.0\4@" | \
@@ -114,7 +114,7 @@ do
grep "^${metaRegexe["${sucheWonach}"]}:" | \
sed "s@^${metaRegexe["${sucheWonach}"]}:\s*@@" | \
sed "s@\(\S\+\):\s\+'\?v\?\([0-9.]*\)'\?\(\s\|\$\)@\L\1>=\L\2\n@g" | \
- sed "s@\(\S\+\):\s\+'<\s*v\?\([0-9.]\+\)'\(\s\|\$\)@\L\1<\L\2\n@g" | \
+ sed "s@\(\S\+\):\s\+'\(<=\?\)\s*v\?\([0-9.]\+\)'\(\s\|\$\)@\L\1\2\L\3\n@g" | \
sed "s@::@-@g" | \
sed "s|>=0\$||" | \
grep -v "^\({}\)\?$"