diff --git a/dist/index.js b/dist/index.js index ad450c0d..82270d74 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2670,18 +2670,24 @@ function addExtensionLinux(extension_csv, version, pipe) { break; // match 7.0xdebug..7.4xdebug case /^7\.[0-4]xdebug$/.test(version_extension): - script += '\nupdate_extension xdebug 2.9.0' + pipe; + script += + '\nupdate_extension xdebug 2.9.0' + + pipe + + '\n' + + (yield utils.addLog('$tick', 'xdebug', 'Enabled', 'linux')); return; // match 7.0phalcon3..7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension): script += - 'sh ' + + '\nsh ' + path.join(__dirname, '../src/scripts/ext/phalcon.sh') + ' ' + extension + ' ' + version + - pipe; + pipe + + '\n' + + (yield utils.addLog('$tick', extension, 'Installed and enabled', 'linux')); return; default: install_command = diff --git a/src/extensions.ts b/src/extensions.ts index 8081b052..dba19eda 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -123,18 +123,29 @@ export async function addExtensionLinux( break; // match 7.0xdebug..7.4xdebug case /^7\.[0-4]xdebug$/.test(version_extension): - script += '\nupdate_extension xdebug 2.9.0' + pipe; + script += + '\nupdate_extension xdebug 2.9.0' + + pipe + + '\n' + + (await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux')); return; // match 7.0phalcon3..7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension): script += - 'sh ' + + '\nsh ' + path.join(__dirname, '../src/scripts/ext/phalcon.sh') + ' ' + extension + ' ' + version + - pipe; + pipe + + '\n' + + (await utils.addLog( + '$tick', + extension, + 'Installed and enabled', + 'linux' + )); return; default: install_command =