Fix syntax in upgrade script

This commit is contained in:
Josué Tille 2017-10-14 10:10:49 +02:00
parent e3997d44ad
commit b6bc5151d2

View file

@ -121,7 +121,7 @@ fi
# Update seahub config for old version to version 5.0.4
if [[ $(grep -c "LOGIN_URL" $final_path/conf/seahub_settings.py) == 0 ]]
then
echo "LOGIN_URL = '"$path"/accounts/login/'" | tee -a $final_path/conf/seahub_settings.py
echo "LOGIN_URL = '$path/accounts/login/'" | tee -a $final_path/conf/seahub_settings.py
fi
# Fix local warning