add git as dependency
This commit is contained in:
parent
8bee5aa974
commit
0a17a41780
@ -5,12 +5,14 @@ CLI script to rearrange pdf pages for printing book signatures and foldable zine
|
|||||||
## Install pdf2book in Linux or macOS
|
## Install pdf2book in Linux or macOS
|
||||||
|
|
||||||
### Dependencies:
|
### 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`
|
- 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`
|
- 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`
|
- check with `python3 -m venv --help`
|
||||||
|
- [`git`](https://git-scm.com/downloads)(might be pre-installed)
|
||||||
|
- check with `git --version`
|
||||||
|
|
||||||
### Installation script
|
### Installation script
|
||||||
use the installation script
|
use the installation script
|
||||||
|
@ -5,12 +5,13 @@
|
|||||||
# - python3: check with `python3 --version`
|
# - python3: check with `python3 --version`
|
||||||
#- venv: check with `python3 -m venv --help`
|
#- venv: check with `python3 -m venv --help`
|
||||||
#
|
#
|
||||||
# check dependencies
|
|
||||||
set -e
|
set -e
|
||||||
|
# check dependencies
|
||||||
|
# if not available print error msg
|
||||||
bash --version > /dev/null
|
bash --version > /dev/null
|
||||||
python3 --version > /dev/null
|
python3 --version > /dev/null
|
||||||
python3 -m venv --help > /dev/null
|
python3 -m venv --help > /dev/null
|
||||||
set +e
|
git --version > /dev/null
|
||||||
#
|
#
|
||||||
PREFIX="$HOME/.local"
|
PREFIX="$HOME/.local"
|
||||||
HELP="""
|
HELP="""
|
||||||
|
Loading…
Reference in New Issue
Block a user