Compare commits

..

No commits in common. "fc18eecaf4893852c3142d1844728fa35db4286b" and "408788cac1b434f7cf852ec18b3295f4e8d23d5f" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View file

@ -282,12 +282,6 @@ if __name__ == "__main__":
with open('pandora/local_settings.py', 'w') as f:
f.write('\n'.join(local_settings))
if old <= 6313:
if sys.version_info[0:2] < (3, 6):
print('Python 3.6 or late is required now, upgrade your system and run:')
print('')
print('./update.py postupdate %s %s' % (6313, new))
print('')
sys.exit(1)
run('./bin/pip', 'uninstall', 'django-celery', '-y')
run('./bin/pip', 'install', '-r', 'requirements.txt')
if old <= 6315:

View file

@ -196,10 +196,7 @@ fi
# configure nginx
if [ "$NGINX" == "local" ]; then
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/pandora"
rm /etc/nginx/sites-enabled/default
ln -s ../sites-available/pandora /etc/nginx/sites-enabled/pandora
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/default"
read -r -d '' GZIP <<EOI
gzip_static on;\\
\tgzip_http_version 1.1;\\