Browse Source

Create directory if needed

Bob Mottram 8 years ago
parent
commit
2637547c15
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-adduser

+ 1
- 1
src/freedombone-adduser View File

@@ -224,7 +224,7 @@ if grep -q "install_xmpp_client" $COMPLETION_FILE; then
224 224
 		mkdir -p $XMPP_CLIENT_DIR
225 225
 	fi
226 226
 	if [ ! -d /home/$MY_USERNAME/.config/profanity ]; then
227
-		mkdir /home/$MY_USERNAME/.config/profanity
227
+		mkdir -p /home/$MY_USERNAME/.config/profanity
228 228
 	fi
229 229
 	echo "[${MY_USERNAME}@${HOSTNAME}]" > $XMPP_CLIENT_ACCOUNTS
230 230
 	echo 'enabled=true' >> $XMPP_CLIENT_ACCOUNTS