diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20120711 | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120711')
8 files changed, 112 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment-0001.bin b/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment-0001.bin new file mode 100644 index 000000000..a28699d26 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment-0001.bin @@ -0,0 +1,35 @@ +#!/bin/bash + +LIST=slash-bin.txt +if [ -n "$1" -a -e "$1" ]; then + LIST="$1" +fi + +echo "Using file: $LIST" >&2 + +IFS=' +' + +OP="" +for pkg in $(cat $LIST | cut -d':' -f1 | sort -u); do + regexp="^/usr($(cat $LIST | grep "^$pkg:" | cut -d':' -f2 | xargs | sed 's/ /|/g'))\$" + file=$(echo $line | cut -d':' -f2) + + echo -n "Checking for conflicts for package $pkg..." >&2 + conflicts="$(urpmf "$regexp")" + if [ -n "$conflicts" ]; then + otherconflicts="$(echo "$conflicts" | grep -v "^$pkg:")" + if [ -z "$otherconflicts" ]; then + echo " self" >&2 + OP="${OP}$pkg:self\n" + else + otherpkgs=$(echo "$otherconflicts" | cut -d':' -f1 | sort -u | xargs) + echo " $otherpkgs" >&2 + OP="${OP}$pkg:$otherpkgs\n" + fi + else + echo " none" >&2 + fi +done + +echo -e "$OP"
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment.bin b/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment.bin new file mode 100644 index 000000000..a28699d26 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/3b0f3073/attachment.bin @@ -0,0 +1,35 @@ +#!/bin/bash + +LIST=slash-bin.txt +if [ -n "$1" -a -e "$1" ]; then + LIST="$1" +fi + +echo "Using file: $LIST" >&2 + +IFS=' +' + +OP="" +for pkg in $(cat $LIST | cut -d':' -f1 | sort -u); do + regexp="^/usr($(cat $LIST | grep "^$pkg:" | cut -d':' -f2 | xargs | sed 's/ /|/g'))\$" + file=$(echo $line | cut -d':' -f2) + + echo -n "Checking for conflicts for package $pkg..." >&2 + conflicts="$(urpmf "$regexp")" + if [ -n "$conflicts" ]; then + otherconflicts="$(echo "$conflicts" | grep -v "^$pkg:")" + if [ -z "$otherconflicts" ]; then + echo " self" >&2 + OP="${OP}$pkg:self\n" + else + otherpkgs=$(echo "$otherconflicts" | cut -d':' -f1 | sort -u | xargs) + echo " $otherpkgs" >&2 + OP="${OP}$pkg:$otherpkgs\n" + fi + else + echo " none" >&2 + fi +done + +echo -e "$OP"
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment-0001.asc new file mode 100644 index 000000000..032256321 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment-0001.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/WZcT1rWTfpocyQRArhiAJ9JIhnmNI53PkdjmoGVbeKQgeIrugCffRjF +EZPz1Pam7hpGGBYeu+MKfKM= +=WTT0 +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment.asc b/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment.asc new file mode 100644 index 000000000..032256321 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/3f6eddac/attachment.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/WZcT1rWTfpocyQRArhiAJ9JIhnmNI53PkdjmoGVbeKQgeIrugCffRjF +EZPz1Pam7hpGGBYeu+MKfKM= +=WTT0 +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment-0001.asc new file mode 100644 index 000000000..fcb5cf8ed --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment-0001.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/NKkT1rWTfpocyQRAjfHAJ0WlheAozjuzmnjfWHILC+0rj/eUQCcCR3H +NIDMhIgv7qG87kfOdY7AhlE= +=Mvp7 +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment.asc b/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment.asc new file mode 100644 index 000000000..fcb5cf8ed --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/5cae5c28/attachment.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/NKkT1rWTfpocyQRAjfHAJ0WlheAozjuzmnjfWHILC+0rj/eUQCcCR3H +NIDMhIgv7qG87kfOdY7AhlE= +=Mvp7 +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment-0001.asc new file mode 100644 index 000000000..f5a2d859c --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment-0001.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/au6T1rWTfpocyQRAuZRAKDxPWuuhUosKMDHUvNtiNguX9VTPwCeM2wh +7u4Jol5Kbq5lj9r5a/VJEw8= +=WQNA +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment.asc b/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment.asc new file mode 100644 index 000000000..f5a2d859c --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120711/ff4f8935/attachment.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBP/au6T1rWTfpocyQRAuZRAKDxPWuuhUosKMDHUvNtiNguX9VTPwCeM2wh +7u4Jol5Kbq5lj9r5a/VJEw8= +=WQNA +-----END PGP SIGNATURE----- |