aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authoram97 <andy.maldo@hotmail.com>2020-02-23 19:27:39 +0100
committerGitHub <noreply@github.com>2020-02-23 19:27:39 +0100
commiteea50b9b2c6963e7b0f5cdb3fda3684c51958533 (patch)
tree52b133662bf9dafcead5b979a5280d43acc9fcff /conf
parentd128e84860b8b8c14d27a4d43f11b751f73f6daf (diff)
downloadihatemoney-mirror-eea50b9b2c6963e7b0f5cdb3fda3684c51958533.zip
ihatemoney-mirror-eea50b9b2c6963e7b0f5cdb3fda3684c51958533.tar.gz
ihatemoney-mirror-eea50b9b2c6963e7b0f5cdb3fda3684c51958533.tar.bz2
Misc small updates (#536)
Diffstat (limited to 'conf')
-rwxr-xr-xconf/entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/entrypoint.sh b/conf/entrypoint.sh
index 07dcc63..0d5a7a3 100755
--- a/conf/entrypoint.sh
+++ b/conf/entrypoint.sh
@@ -22,7 +22,7 @@ ALLOW_PUBLIC_PROJECT_CREATION = $ALLOW_PUBLIC_PROJECT_CREATION
ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD
EOF
-if [ ! -z "$NIGHTLY" ]; then
+if [ "$NIGHTLY" == "True" -o "$NIGHTLY" == "true" ]; then
# Clone or update repository into /ihatemoney.
if [ ! -d /ihatemoney/.git ]; then
echo "Cloning..."
@@ -36,7 +36,7 @@ if [ ! -z "$NIGHTLY" ]; then
fi
pip install --no-cache-dir -e /ihatemoney
else
- # Get the latest release from PyPy.
+ # Get the latest release from PyPI.
pip install --no-cache-dir --upgrade ihatemoney
fi