setup scripts
This commit is contained in:
parent
e1194a4877
commit
08cd03bf8f
3 changed files with 34 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue