consistency

This commit is contained in:
Jack L. Frost 2015-01-27 23:52:16 +03:00
parent 40f797ac20
commit b484a167f4

8
zpac
View File

@ -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."