From 0f4672a63f4edc901be3af51b9d11c0dc94bcc20 Mon Sep 17 00:00:00 2001 From: udeved Date: Thu, 8 Jun 2017 18:42:19 +0200 Subject: [PATCH] util-profile: fix make repo dir --- lib/util-profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-profile.sh b/lib/util-profile.sh index eadc7d0..1c14816 100644 --- a/lib/util-profile.sh +++ b/lib/util-profile.sh @@ -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}