From 5ba73e0e1e632b8917ed4f3b75689803fe8cb18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20M=C3=BCnch?= Date: Mon, 5 Jul 2021 20:42:51 +0000 Subject: [PATCH] make sure python3 is used --- update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update b/update index 0d8942a..f9f95f3 100755 --- a/update +++ b/update @@ -16,16 +16,16 @@ cd $path/coinmanager echo -n "fetching " git pull -q origin master >/dev/null -echo -n "... collecting " -python manage.py collectstatic --settings coinmanager.production_settings --no-input >/dev/null - echo -n "... bumping " version=$(date +"%y%m%d") sed -i "s/[0-9]\{6\}/$version/g" coinc/templates/footer.html >/dev/null +echo -n "... collecting " +python3 manage.py collectstatic --settings coinmanager.production_settings --no-input >/dev/null + echo -n "... owning " sudo chmod 775 db.sqlite3 sudo chown -R $user:$web_user $path >/dev/null echo "... reloading " -sudo systemctl reload apache2 >/dev/null +sudo systemctl restart apache2 >/dev/null