setup scripts

This commit is contained in:
Matt Troutman 2024-09-27 12:17:58 -05:00
parent e1194a4877
commit 08cd03bf8f
No known key found for this signature in database
3 changed files with 34 additions and 1 deletions

View file

@ -1,10 +1,16 @@
#!/bin/zsh
mydir=$(dirname "$0")
# Define the absolute path to the prep script
PREP_SCRIPT="$(cd "$(dirname "$0")" && pwd)/prep 1 font.sh"
#activate python environment
source "$(cd "$(dirname "$0")" && pwd)/.env/bin/activate"
#move orphans before we do anything else
python $mydir/orphans.py
# Check if the prep script exists
if [[ ! -f "$PREP_SCRIPT" ]]; then
echo "Prep script not found: $PREP_SCRIPT"