Browse Source

Added line to update existing python modules, and add new ones

deadtom 2 weeks ago
parent
commit
6f3e6c3bfa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      update.sh

+ 2 - 2
update.sh

@@ -36,8 +36,8 @@ activate_venv() {
 }
 
 install_module() {
-    pip install --upgrade pip
-    pip install pkce || { echo "Failed to install pkce module"; exit 1; }  # Install pkce module
+    pip install --upgrade pip || { echo "Failed to upgrade pip"; exit 1; }  # Upgrade pip
+    pip install -e . || { echo "Failed to install/upgrade module"; exit 1; }  # Install/upgrade modules
 }
 
 update_db() {  # Create the database. This also populates it with some goals and votes from the default rewards.py