summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-16 16:58:36 +0000
committerdavidovski <david@davidovski.xyz>2022-02-16 16:58:36 +0000
commit1117f2bef50ec65aa6bfe55e8e22beb5be092275 (patch)
treeaca60d8297c9a99e551664df931ed36ef4f49164 /src/profile.sh
parent5e31b33fbe30f7b1775b89fc23abd6c96675cf99 (diff)
added dependency resolving
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"