Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison bin/check-ports @ 102:91fb0af73fce
Docu: for "get_repo_for_installed_package()()" extended
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 26 Sep 2019 09:37:25 +0200 |
| parents | bf8f0aa3c698 |
| children | 05058a166e6e |
comparison
equal
deleted
inserted
replaced
| 101:bf8f0aa3c698 | 102:91fb0af73fce |
|---|---|
| 144 : 'Determine for a package `_name` from which repository is has been | 144 : 'Determine for a package `_name` from which repository is has been |
| 145 installed. | 145 installed. |
| 146 | 146 |
| 147 Args: | 147 Args: |
| 148 _name: the name of the package to search for | 148 _name: the name of the package to search for |
| 149 | |
| 150 Input (Globals): | |
| 151 installed_data the output of ``pkg query "%n %v %R"`` of all | |
| 152 installed packages | |
| 149 | 153 |
| 150 Returns: | 154 Returns: |
| 151 0 on success, 1 on errors or if the package is not installed | 155 0 on success, 1 on errors or if the package is not installed |
| 152 | 156 |
| 153 Output (Globals): | 157 Output (Globals): |
