diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index b17043a8..d00d51d6 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -47,8 +47,7 @@ describe('Extension tests', () => { linux = await extensions.addExtension('gearman', '7.3', 'linux'); expect(linux).toContain('gearman.sh 7.3'); - linux = await extensions.addExtension('phalcon4, gearman', '7.4', 'linux'); - expect(linux).toContain('phalcon.sh phalcon4 7.4'); + linux = await extensions.addExtension('gearman', '7.4', 'linux'); expect(linux).toContain('gearman.sh 7.4'); linux = await extensions.addExtension('xdebug', '7.2', 'fedora'); diff --git a/dist/index.js b/dist/index.js index 3f0f69c6..4315e3cc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2676,19 +2676,6 @@ function addExtensionLinux(extension_csv, version, pipe) { '\n' + (yield utils.addLog('$tick', 'xdebug', 'Enabled', 'linux')); return; - // match 7.4phalcon4 - case /^7.4phalcon4$/.test(version_extension): - script += - '\nsh ' + - path.join(__dirname, '../src/scripts/ext/phalcon.sh') + - ' ' + - extension + - ' ' + - version + - pipe + - '\n' + - (yield utils.addLog('$tick', extension, 'Installed and enabled', 'linux')); - return; default: install_command = 'sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php' + diff --git a/src/extensions.ts b/src/extensions.ts index 137a256e..383a15d6 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -129,24 +129,6 @@ export async function addExtensionLinux( '\n' + (await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux')); return; - // match 7.4phalcon4 - case /^7.4phalcon4$/.test(version_extension): - script += - '\nsh ' + - path.join(__dirname, '../src/scripts/ext/phalcon.sh') + - ' ' + - extension + - ' ' + - version + - pipe + - '\n' + - (await utils.addLog( - '$tick', - extension, - 'Installed and enabled', - 'linux' - )); - return; default: install_command = 'sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php' +