#!/bin/bash # Refresh the local DBLP conference database. # Run this before paper submission to ensure the DB is up to date. set -e SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" PROJECT_DIR="$(dirname "$SCRIPT_DIR")" echo "🔄 Refreshing conference database..." # 1. Download new bib files (only those not yet downloaded) python "$SCRIPT_DIR/update_db.py" # 2. Rebuild the index python "$SCRIPT_DIR/build_index.py" echo "" echo "✅ DB refreshed." echo " Run: python main.py --bib your_paper.bib"