matomo: 3.11.0 -> 3.13.0
This commit is contained in:
parent
7e06a3c256
commit
42d815d102
@ -3,8 +3,8 @@
|
|||||||
let
|
let
|
||||||
versions = {
|
versions = {
|
||||||
matomo = {
|
matomo = {
|
||||||
version = "3.11.0";
|
version = "3.13.0";
|
||||||
sha256 = "1fbnmmzzsi3dfm9qm30wypxjcazl37mryaik9mlrb19hnp2md40q";
|
sha256 = "0h4jqibb86zw5l26r927qrbjhba8c79pc4xp3hgpi25p3fjncax8";
|
||||||
};
|
};
|
||||||
|
|
||||||
matomo-beta = {
|
matomo-beta = {
|
||||||
@ -74,15 +74,22 @@ stdenv.mkDerivation rec {
|
|||||||
"vendor/leafo/lessphp/package.sh"
|
"vendor/leafo/lessphp/package.sh"
|
||||||
"vendor/pear/archive_tar/sync-php4"
|
"vendor/pear/archive_tar/sync-php4"
|
||||||
"vendor/szymach/c-pchart/coverage.sh"
|
"vendor/szymach/c-pchart/coverage.sh"
|
||||||
|
# drupal_test.sh does not exist in 3.12.0-b3; added for 3.13.0
|
||||||
|
"vendor/twig/twig/drupal_test.sh"
|
||||||
];
|
];
|
||||||
|
|
||||||
# This fixes the consistency check in the admin interface
|
# This fixes the consistency check in the admin interface
|
||||||
|
#
|
||||||
|
# The filesToFix list may contain files that are exclusive to only one of the versions we build
|
||||||
|
# make sure to test for existence to avoid erroring on an incompatible version and failing
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
pushd $out/share > /dev/null
|
pushd $out/share > /dev/null
|
||||||
for f in $filesToFix; do
|
for f in $filesToFix; do
|
||||||
|
if [ -f "$f" ]; then
|
||||||
length="$(wc -c "$f" | cut -d' ' -f1)"
|
length="$(wc -c "$f" | cut -d' ' -f1)"
|
||||||
hash="$(md5sum "$f" | cut -d' ' -f1)"
|
hash="$(md5sum "$f" | cut -d' ' -f1)"
|
||||||
sed -i "s:\\(\"$f\"[^(]*(\\).*:\\1\"$length\", \"$hash\"),:g" config/manifest.inc.php
|
sed -i "s:\\(\"$f\"[^(]*(\\).*:\\1\"$length\", \"$hash\"),:g" config/manifest.inc.php
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user