util-profile: fix make repo dir

This commit is contained in:
udeved 2017-06-08 18:42:19 +02:00
parent a1371dbd8a
commit 0f4672a63f

View file

@ -146,7 +146,7 @@ reset_profile(){
write_live_session_conf(){
local path=$1${SYSCONFDIR}
prepare_dir "$path"
[[ ! -d $path ]] && mkdir -p "$path"
local conf=$path/live.conf
msg2 "Writing %s" "${conf##*/}"
echo '# live session configuration' > ${conf}