Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit 2aa8762

Browse files
author
Grant Kinney
committed
Fixes blank directory when installing plugins
1 parent db83096 commit 2aa8762

File tree

2 files changed

+33
-32
lines changed

2 files changed

+33
-32
lines changed

composer.json

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@
55
{
66
"type":"package",
77
"package": {
8-
"name": "piwik/SecurityInfo",
9-
"version": "3.0.4",
10-
"source": {
11-
"url": "https://github.com/piwik/plugin-SecurityInfo",
12-
"type": "git",
13-
"reference": "3.0.4"
8+
"name": "piwik/plugin-SecurityInfo",
9+
"version": "3.0.4",
10+
"source": {
11+
"url": "https://github.com/piwik/plugin-SecurityInfo.git",
12+
"type": "git",
13+
"reference": "3.0.4"
1414
},
1515
"type": "piwik-plugin",
1616
"require": {
1717
"composer/installers": "~1.0"
18+
},
19+
"extra": {
20+
"installer-name": "SecurityInfo"
1821
}
1922
}
2023
}
@@ -26,7 +29,7 @@
2629
"ext-gd": "*",
2730
"ext-xml": "*",
2831
"ext-mbstring": "*",
29-
"piwik/SecurityInfo": "^3.0",
32+
"piwik/plugin-SecurityInfo": "^3.0",
3033
"geoip2/geoip2": "^2.6"
3134
},
3235
"license": "GPL-3.0",
@@ -38,11 +41,6 @@
3841
],
3942
"minimum-stability": "stable",
4043
"scripts": {
41-
"post-install-cmd": "cp index.php vendor/piwik/piwik/ && cp config.ini.php vendor/piwik/piwik/config/"
42-
},
43-
"extra": {
44-
"installer-paths": {
45-
"vendor/piwik/piwik/plugins/{$name}/": ["type:piwik-plugin"]
46-
}
44+
"post-install-cmd": "mv plugins/* vendor/piwik/piwik/plugins/ && cp index.php vendor/piwik/piwik/ && cp config.ini.php vendor/piwik/piwik/config/"
4745
}
4846
}

composer.lock

Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)