diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-11-05 11:32:05 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-11-05 11:32:05 -0300 |
commit | 9a10cb46a74e404e57517bfda46ddd672e749bd3 (patch) | |
tree | 83287b3cfc959fe5e1b925765675c05b9c25436e /pacman-db-get |
pacman-db-get: Add script
Diffstat (limited to 'pacman-db-get')
-rwxr-xr-x | pacman-db-get | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pacman-db-get b/pacman-db-get new file mode 100755 index 0000000..50d8f8b --- /dev/null +++ b/pacman-db-get @@ -0,0 +1,14 @@ +#!/bin/bash + +# alfplayer +# 2014-06-12 +# +# Get Parabola sync DBs from repo.parabolagnulinux.org. + +repo="$1" +arch="${2:-$(uname -m)}" + +url="http://repo.parabolagnulinux.org/${repo}/os/${arch}/${repo}.db" + +echo "wget -q "$url" -O - | tar xzO" +wget -q "$url" -O - | tar xzO |