add git as dependency

This commit is contained in:
uni@bor.mac 2025-06-10 18:33:40 +02:00
parent 8bee5aa974
commit 0a17a41780
2 changed files with 8 additions and 5 deletions

View File

@ -5,12 +5,14 @@ CLI script to rearrange pdf pages for printing book signatures and foldable zine
## Install pdf2book in Linux or macOS
### Dependencies:
- [`bash`](https://www.gnu.org/software/bash/) (mostly already installed)
- [`bash`](https://www.gnu.org/software/bash/) (mostly already pre-installed)
- check with `bash --version`
- [`python3`](https://www.python.org/downloads/) (mostly already installed)
- [`python3`](https://www.python.org/downloads/) (mostly already pre-installed)
- check with `python3 --version`
- [`venv`](https://docs.python.org/3/library/venv.html) (might be installed)
- [`venv`](https://docs.python.org/3/library/venv.html) (might be pre-installed)
- check with `python3 -m venv --help`
- [`git`](https://git-scm.com/downloads)(might be pre-installed)
- check with `git --version`
### Installation script
use the installation script

View File

@ -5,12 +5,13 @@
# - python3: check with `python3 --version`
#- venv: check with `python3 -m venv --help`
#
# check dependencies
set -e
# check dependencies
# if not available print error msg
bash --version > /dev/null
python3 --version > /dev/null
python3 -m venv --help > /dev/null
set +e
git --version > /dev/null
#
PREFIX="$HOME/.local"
HELP="""