Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4939405926 | |||
e9bdb6b4e1 |
15
prm
15
prm
|
@ -159,18 +159,7 @@ aur.get() {
|
||||||
}
|
}
|
||||||
|
|
||||||
abs.get() {
|
abs.get() {
|
||||||
declare pkg_repo svn_repo
|
git clone "https://gitlab.archlinux.org/archlinux/packaging/packages/$1.git" "$cfg_workdir/$1"
|
||||||
|
|
||||||
pkg_repo="$2"
|
|
||||||
|
|
||||||
case "$pkg_repo" in
|
|
||||||
(community|multilib)
|
|
||||||
svn_repo='community';;
|
|
||||||
(*)
|
|
||||||
svn_repo='packages';;
|
|
||||||
esac
|
|
||||||
|
|
||||||
svn export "svn://svn.archlinux.org/${svn_repo}/${1}/trunk" "${cfg_workdir}/${1}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
set_argv() {
|
set_argv() {
|
||||||
|
@ -265,7 +254,7 @@ main() {
|
||||||
unset flag_search_aur flag_search_syncdb
|
unset flag_search_aur flag_search_syncdb
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg_aur_api="${cfg_aur_url}/rpc.php/rpc/?v=5"
|
cfg_aur_api="${cfg_aur_url}/rpc?v=5"
|
||||||
|
|
||||||
if (( flag_search )); then
|
if (( flag_search )); then
|
||||||
action=search
|
action=search
|
||||||
|
|
Loading…
Reference in New Issue
Block a user