We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f9c5a commit 5ffb68bCopy full SHA for 5ffb68b
bin/countly.install.sh
@@ -3,7 +3,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
DATE=$(date +%Y-%m-%d:%H:%M:%S)
4
totalm=$(free -m | awk '/^Mem:/{print $2}')
5
6
-if ! [[ "$1" = 'gh' ]]; then
+GH_ACTIONS_TRIGGER=$1
7
+if ! [[ "$GH_ACTIONS_TRIGGER" = 'gh' ]]; then
8
if [[ "$DIR" = '/root'* ]]; then
9
echo "You cannot install Countly under /root. Suggested paths: /opt or /usr."
10
exit 1
0 commit comments