Create directory if needed

This commit is contained in:
Bob Mottram 2016-06-05 14:27:33 +01:00
parent 776c1696eb
commit 2637547c15
1 changed files with 1 additions and 1 deletions

View File

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