summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
new file mode 100755
index 0000000..12bd41c
--- /dev/null
+++ b/src/profile.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+. /usr/lib/colors.sh
+export CONF_FILE="/etc/xipkg.conf"
+
+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 TMP_DIR="/tmp/xi"