#!/bin/bash echo activate virtual environment? \(source ~/.venv/bin/activate\) [y/n] read answer if [[ $answer == 'y' ]] then source ~/.config/venv/bin/activate fi mkdir -p lyrics_cache cd lyrics_cache python3 ../scripts/populate/main.py cd .. mv lyrics_cache/covers ./ rm -rf lyrics_cache if [[ $answer == 'y' ]] then deactivate fi