summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
index 165bf0a..6eb3bbf 100755
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -8,6 +8,8 @@ export HBAR_RED="-c ${BLACK}${BG_RED}"
export CONF_FILE="/etc/xipkg.conf"
+[ ! -f "$CONF_FILE" ] && echo "No config found!" && exit 1
+
export CURL_OPTS="-sSL"
export DEFAULT_OPTION=$(parseconf -v default_cmd)