Accept PECL default parameters

This commit is contained in:
Shivam Mathur
2020-07-25 12:27:51 +05:30
parent 83bdf158fa
commit 67152eb712
5 changed files with 30 additions and 19 deletions

View File

@ -20,7 +20,7 @@ export async function addExtensionDarwin(
const version_extension: string = version + extension;
const [ext_name, ext_version]: string[] = extension.split('-');
const ext_prefix = await utils.getExtensionPrefix(ext_name);
const command_prefix = 'sudo pecl install -f ';
const command_prefix = 'pecl_install ';
let command = '';
switch (true) {
// match :extension