summaryrefslogtreecommitdiff
path: root/pacman-db-get
blob: 50d8f8be0b47260b18a63699c16b7acb899aefd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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