Add support for ast and uopz ubuntu packages

This commit is contained in:
Shivam Mathur
2020-03-30 13:50:20 +05:30
parent d90cd153ee
commit ed557fd2c3
3 changed files with 11 additions and 1 deletions

View File

@ -281,6 +281,10 @@ export async function addExtensionLinux(
extension = extension.replace('pdo_', '').replace('pdo-', '');
script += '\nadd_pdo_extension ' + extension;
return;
// match ast and uopz
case /^(ast|uopz)$/.test(extension):
command = command_prefix + '-' + extension + pipe;
break;
// match sqlite
case /^sqlite$/.test(extension):
extension = 'sqlite3';