summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
index b0fa785..1fa6ecd 100755
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -23,3 +23,4 @@ export PACKAGE_CACHE="${CACHE_DIR}/packages"
export SYNC_CACHE="${CACHE_DIR}/sync"
export LOG_FILE="/var/log/xipkg.log"
+[ ! -f ${LOG_FILE} ] && mkdir -p /var/log && touch ${LOG_FILE}