Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fports @ 799:96631c3886d9
fports: Rename _package_detail() to _package_max_detail()
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 31 Oct 2024 14:56:18 +0100 |
| parents | e48b38cf7bb1 |
| children | 1c4d729963dc |
comparison
equal
deleted
inserted
replaced
| 798:e48b38cf7bb1 | 799:96631c3886d9 |
|---|---|
| 353 packagemapping='' | 353 packagemapping='' |
| 354 init_package_mapping packagemapping | 354 init_package_mapping packagemapping |
| 355 indexfile="$(get_local_index_file)" | 355 indexfile="$(get_local_index_file)" |
| 356 | 356 |
| 357 for package in "$@"; do | 357 for package in "$@"; do |
| 358 _package_detail "${package}" "${packagemapping}" "${repositories}" "${indexfile}" | 358 _package_max_detail "${package}" "${packagemapping}" "${repositories}" "${indexfile}" |
| 359 done | 359 done |
| 360 | 360 |
| 361 falist_release "${packagemapping}" | 361 falist_release "${packagemapping}" |
| 362 farray_release "${repositories}" | 362 farray_release "${repositories}" |
| 363 } | 363 } |
| 372 #: $1 (str): The name of the package | 372 #: $1 (str): The name of the package |
| 373 #: $2 (alist): The | 373 #: $2 (alist): The |
| 374 #: $3 (array): The array with all the configured/active repositories | 374 #: $3 (array): The array with all the configured/active repositories |
| 375 #: $4 (str, null): The local index file if it exists | 375 #: $4 (str, null): The local index file if it exists |
| 376 #: | 376 #: |
| 377 _package_detail() { | 377 _package_max_detail() { |
| 378 local package packagemapping repositories indexfile | 378 local package packagemapping repositories indexfile |
| 379 | 379 |
| 380 local instver instrepo repo title_printed _dummy \ | 380 local instver instrepo repo title_printed _dummy \ |
| 381 pkglabel pkgdescr pkgversion mapped_package | 381 pkglabel pkgdescr pkgversion mapped_package |
| 382 | 382 |
