From ff0c9b8221843e0309cc9e3c50f617bb0a7b6117 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 27 Jul 2023 19:05:25 +0200 Subject: [PATCH] only run install -r requirements once --- update.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/update.py b/update.py index baec3710a..708390891 100755 --- a/update.py +++ b/update.py @@ -297,14 +297,8 @@ if __name__ == "__main__": run_sql(sql) run(join(base, 'pandora/manage.py'), 'migrate', 'system') run(join(base, 'pandora/manage.py'), 'update_geoip') - if old <= 6383: - run('./bin/pip', 'install', '-r', 'requirements.txt') if old < 6442: run('./bin/pip', 'install', 'yt-dlp>=2022.3.8.2') - if old < 6465: - run('./bin/pip', 'install', '-r', 'requirements.txt') - if old < 6500: - run('./bin/pip', 'install', '-r', 'requirements.txt') if old <= 6517: run('./bin/pip', 'install', '-U', 'pip') run('./bin/pip', 'install', '-r', 'requirements.txt')