We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3dcb0a commit 1a3f0fdCopy full SHA for 1a3f0fd
.shellcheckrc
@@ -2,4 +2,5 @@ disable=SC2230
2
disable=SC2236
3
disable=SC2164
4
disable=SC2237
5
-disable=SC2002
+disable=SC2002
6
+disable=SC2012
bin/commands/countly.sh
@@ -191,7 +191,8 @@ countly_upgrade (){
191
fi
192
elif [ "$1" == "ee" ]
193
then
194
- if [ -f "$DIR/../../"countly-enterprise-edition*.tar.gz ]; then
+ FILE=$(ls -la "$DIR/../../"countly-enterprise-edition*.tar.gz | tail -1 | awk -F' ' '{print $9}')
195
+ if [ -f "$FILE" ]; then
196
cp -Rf "$DIR/../../"plugins/plugins.default.json "$DIR/../../"plugins/plugins.ce.json
197
198
echo "Extracting Countly Enterprise Edition..."
0 commit comments