files for installers are now located inside their directories

This commit is contained in:
jash
2018-10-08 14:45:05 +02:00
committed by kexkey
parent 5bec6232c6
commit ed61e556a5
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
const name = 'installer';
const path = require('path');
const chalk = require('chalk');
const name = 'installer';
const installerDocker = function(props) {
return props.installer === 'docker'
};
@@ -50,7 +52,7 @@ module.exports = {
},
templates: function( props ) {
if( props.installer_mode === 'docker' ) {
return ['config.sh','docker-compose.yaml'];
return ['config.sh', path.join('docker', 'docker-compose.yaml')];
}
return ['config.sh'];
}