support installing with existing volumes and droplets

This commit is contained in:
Josh Harvey 2017-07-12 15:34:00 +03:00
parent ab6f23351d
commit 10b635185d
6 changed files with 23 additions and 12 deletions

View file

@ -70,8 +70,10 @@ function setupCrypto (crypto) {
process.chdir(tmpDir)
common.es('rm -rf *')
common.fetchAndInstall(crypto)
cryptoPlugin.setup(cryptoDir)
fs.writeFileSync(installedVolumeFilePath(crypto), '')
common.writeFile(installedVolumeFilePath(crypto), '')
process.chdir(oldDir)
}