auto commit
[opensuse:package-lists.git] / nonoss.sh
1 #!/bin/sh
2
3 source ./options
4
5 export LC_ALL=C
6
7 for i in i586 x86_64; do
8   diff output/opensuse/dvd-1.$i.list output/opensuse/dvd-nonoss.$i.list | grep '^>' > output/opensuse/nonoss.deps.$i.list
9   : > output/opensuse/nonoss.$i.list
10   find testtrack/full-nf-$tree-$i/susex/$i -name *.rpm | sort | while read file; do
11     basename $file .rpm >> output/opensuse/nonoss.$i.list
12   done
13   sort -u output/opensuse/nonoss.deps.$i.list | cut -d" " -f2 > t && mv t output/opensuse/nonoss.deps.$i.list
14 done
15
16 diff output/opensuse/nonoss.deps.i586.list output/opensuse/nonoss.deps.x86_64.list | grep '^>' | cut -b2- > output/opensuse/nonoss.deps-x86_64.list
17 cat output/opensuse/nonoss.deps.i586.list output/opensuse/nonoss.deps.x86_64.list | sort | uniq -d > output/opensuse/nonoss.deps.list
18
19 diff output/opensuse/nonoss.i586.list output/opensuse/nonoss.x86_64.list | grep '^>' | cut -b2- > output/opensuse/nonoss-x86_64.list
20 cat output/opensuse/nonoss.i586.list output/opensuse/nonoss.x86_64.list | sort | uniq -d > output/opensuse/nonoss.list
21