root/trunk/misc/list-deps-of-pkgs-that-req.sh
| Revision 129, 291 bytes (checked in by mbooth, 8 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | |
| 3 | # list the dependencies of all the packages that require the specified package |
| 4 | |
| 5 | echo "$1 provides:" |
| 6 | echo ===== |
| 7 | repoquery --provides --alldeps $1 |
| 8 | echo |
| 9 | |
| 10 | for p in `repoquery --whatrequires --alldeps $1` ; do |
| 11 | echo $p requires: |
| 12 | echo ===== |
| 13 | repoquery -R --alldeps $p |
| 14 | echo |
| 15 | done |
Note: See TracBrowser
for help on using the browser.