summaryrefslogtreecommitdiff
path: root/src/xiget.sh
blob: 815c47f6f0cba26572b06006f97468c70a990783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

export CONF_FILE="/etc/xipkg.conf"

CURL_OPTS="-SsL"

DEP_GRAPH=$(parseconf -v dir.deps)

get_deps() {
    local name=$1
    [ -f $DEP_GRAPH ] && sed -rn "s/^$name: (.*)/\1/p" $DEP_GRAPH || echo 
}