Browse Source

[getsource] Improve name parsing for alternative package name

master
Pekka Helenius 2 years ago
parent
commit
3db019649f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/getsource.sh

+ 1
- 1
tools/getsource.sh View File

@ -192,7 +192,7 @@ function arch_repos_deepscan() {
if [[ -f "${URLFILE}" ]]; then if [[ -f "${URLFILE}" ]]; then
msg "$(gettext "Selecting another package name:")" msg "$(gettext "Selecting another package name:")"
PACKAGE=$(grep "Source Files" "${URLFILE}" | sed "s/.*href=[\"'].*packages\///g; s/[\"'].*//g")
PACKAGE=$(grep "Source Files" "${URLFILE}" | sed "s/.*href=[\"'].*packages\///g; s/[\"'].*//g; s/\/.*//")
warning "$(gettext "Package name is %s")" "${PACKAGE}" warning "$(gettext "Package name is %s")" "${PACKAGE}"
rm -rf "${URLFILE}" rm -rf "${URLFILE}"
fetch_database arch ${ARCH_GITBASES[@]} fetch_database arch ${ARCH_GITBASES[@]}


Loading…
Cancel
Save