summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-17 02:15:19 +0000
committerdavidovski <david@davidovski.xyz>2022-02-17 02:15:19 +0000
commit35dcb815e217c1135012ba81616496c3ad10b3f5 (patch)
treec1190a25e1cc2ad74674a06f1faac8a0b9db871e /src/profile.sh
parent1117f2bef50ec65aa6bfe55e8e22beb5be092275 (diff)
added file installing
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/profile.sh b/src/profile.sh
index 12bd41c..b150d74 100755
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -1,6 +1,10 @@
#!/bin/bash
-. /usr/lib/colors.sh
+. /usr/lib/colors.sh &&
+ export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}"
+
+. /usr/lib/glyphs.sh
+
export CONF_FILE="/etc/xipkg.conf"
export CURL_OPTS="-SsL"
@@ -8,7 +12,13 @@ export CURL_OPTS="-SsL"
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=$(parseconf -v dir.installed)
+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"
+
-export TMP_DIR="/tmp/xi"