Skip to content
Snippets Groups Projects
Commit 074ee448 authored by jurgenhaas's avatar jurgenhaas
Browse files

#51 Add curly brackets to auth.json if the file is empty

parent bf056dc2
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@ esac
mkdir -p ${HOME}/.composer
touch ${HOME}/.composer/auth.json
if [[ -s "${HOME}/.composer/auth.json" ]]; then
echo "{}" > ${HOME}/.composer/auth.json
fi
touch ${HOME}/.gitconfig
touch ${HOME}/.gitignore_global
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment