summaryrefslogtreecommitdiff
path: root/src/profile.sh
blob: cce8884f561880883d12ee6458d27f9fc0eae6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

. /usr/lib/colors.sh &&
    export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}" &&
    export HBAR_RED="-c ${BLACK}${BG_RED}"

. /usr/lib/glyphs.sh

export CONF_FILE="/etc/xipkg.conf"

export CURL_OPTS="-sL"

export DEP_DIR=$(parseconf -v dir.deps)
export REPOS="$(parseconf -v repos)"
export SOURCES="$(parseconf sources.*)"

export PACKAGES_DIR=$(parseconf -v dir.packages)
export INSTALLED_DIR=${SYSROOT}$(parseconf -v dir.installed)
export KEYCHAIN_DIR=$(parseconf -v dir.keychain)

export CACHE_DIR=$(parseconf -v dir.cache)
export PACKAGE_CACHE="${CACHE_DIR}/packages"
export SYNC_CACHE="${CACHE_DIR}/sync"

. /usr/lib/glyphs.sh