update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
12
www/analytics/misc/composer/clean-xhprof.sh
Executable file
12
www/analytics/misc/composer/clean-xhprof.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# if xhprof exists but points to a non-master branch, checkout master so composer won't fail
|
||||
|
||||
if [ -d "vendor/facebook/xhprof/extension" ]; then
|
||||
cd vendor/facebook/xhprof/extension
|
||||
|
||||
GIT_BRANCH=$(git symbolic-ref HEAD 2>/dev/null)
|
||||
|
||||
git reset --hard &> /dev/null
|
||||
git checkout master &> /dev/null
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue