Skip to content
Snippets Groups Projects
Commit 6093cfb1 authored by jurgenhaas's avatar jurgenhaas
Browse files

#41 Fix ahoy setup

parent 10d962ea
No related branches found
No related tags found
No related merge requests found
......@@ -193,13 +193,13 @@ function setupAhoy {
echo "ahoyapi: v2" >.ahoy.yml
echo "commands:" >>.ahoy.yml
fi
if [[ ! -f .ahoy ]]; then
ln -s /etc/ahoy .ahoy
if [[ ! -f .ahoy.l3d ]]; then
ln -s /etc/ahoy .ahoy.l3d
fi
if [[ -f .gitignore ]]; then
EXISTING=$(cat .gitignore | grep "^/.ahoy/$")
EXISTING=$(cat .gitignore | grep "^/.ahoy.l3d$")
if [[ -z ${EXISTING} ]]; then
echo "/.ahoy/" >>.gitignore
echo "/.ahoy.l3d" >>.gitignore
fi
fi
EXISTING=$(cat .ahoy.yml | grep "^ changelog:")
......
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