1
0
Fork 0
This repository has been archived on 2025-01-11. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
freshrss2pocket/run.sh
2023-04-26 17:42:13 +02:00

15 lines
281 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
WORKING_DIR="${1:-.}"
cd "$WORKING_DIR" || exit
if [ ! -d "./venv/" ]; then
echo "This is script only works with a python virtual environment setup at $(pwd)/venv"
exit 1
fi
source ./venv/bin/activate
./venv/bin/python freshrss2pocket.py