consistency
This commit is contained in:
parent
40f797ac20
commit
b484a167f4
8
zpac
8
zpac
|
@ -98,9 +98,11 @@ aur.get() {
|
|||
}
|
||||
|
||||
abs.get() {
|
||||
local svn_repo
|
||||
local pkg_repo svn_repo
|
||||
|
||||
case "$repo" in
|
||||
pkg_repo="$2"
|
||||
|
||||
case "$pkg_repo" in
|
||||
(community|multilib)
|
||||
svn_repo='community';;
|
||||
(*)
|
||||
|
@ -173,7 +175,7 @@ main() {
|
|||
aur.get <<< "$pkg_aur_info";;
|
||||
|
||||
(core|extra|community|multilib)
|
||||
abs.get "${package}";;
|
||||
abs.get "$package" "$repo";;
|
||||
|
||||
(*)
|
||||
err "Repository $repo not supported."
|
||||
|
|
Loading…
Reference in New Issue
Block a user