diff options
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-x | src/profile.sh | 1 |
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} |