From 89dbb590a6a3d0f97dd06b77051391f6e81bf245 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Sun, 17 May 2020 01:49:13 +0900 Subject: [PATCH] fix: [bash] Alias functions need a function and not a string... --- docs/generic/supportFunctions.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/generic/supportFunctions.md b/docs/generic/supportFunctions.md index d3b5f77c3..bf0479902 100644 --- a/docs/generic/supportFunctions.md +++ b/docs/generic/supportFunctions.md @@ -838,21 +838,21 @@ gitPullAllRCLOCAL () { sudo sed -i -e '$i \done\n' /etc/rc.local } -# Composer on php 7.0 does not need any special treatment the provided phar works well -alias composer70='composer' - -# Composer on php 7.2 does not need any special treatment the provided phar works well -alias composer72='composer' - -# Composer on php 7.3 does not need any special treatment the provided phar works well -alias composer73='composer' - # Main composer function composer () { sudo mkdir /var/www/.composer ; sudo chown ${WWW_USER}:${WWW_USER} /var/www/.composer ${SUDO_WWW} sh -c 'cd ${PATH_TO_MISP}/app ; php composer.phar install' } +# Composer on php 7.0 does not need any special treatment the provided phar works well +alias composer70=composer + +# Composer on php 7.2 does not need any special treatment the provided phar works well +alias composer72=composer + +# Composer on php 7.3 does not need any special treatment the provided phar works well +alias composer73=composer + # TODO: this is probably a useless function # Enable various core services enableServices () {