Trying to install node.js via composer (for automation).
"repositories": [
"type": "package",
"package": {
"name": "nodejs/nodejs",
"version": "0.12.6",
"dist": {
"type": "gzip",
"url": "https://nodejs.org/dist/v0.12.6/node-v0.12.6-linux-x64.tar.gz"
}
}
}
],
"require": {
"nodejs/nodejs": "0.12.*"
}
Problem is, I can either use tar or gzip to unpack the archieve.
Available types: git, svn, hg, perforce, zip, rar, tar, gzip, phar, file.
The nodejs package obviously uses both.
How can I unpack .tar.gz packed files using composer?
I know I could use post-update-cmd and post-install-cmd commands and manually execute untar/gunzip, but that's not the way composer is ment to be.