From d8cc1e51c0227e459ae31f71129b6e1426d937ce Mon Sep 17 00:00:00 2001 From: Gustavo Arnosti Neves Date: Thu, 12 Apr 2018 05:42:37 -0300 Subject: [PATCH] v2.3.4 readme updates --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f22fe24..ee0e346 100644 --- a/README.md +++ b/README.md @@ -415,13 +415,41 @@ sudo yum install imagemagick pdfinfo ``` brew install imagemagick xpdf ``` - + ## Clone using git ``` git clone https://github.com/tavinus/pdfScale.git cd ./pdfScale ./pdfScale.sh --version ``` + +## Run installer using `curl` or `wget` +#### wget oneliners +```bash +# Normal install with prompts +wget -q -O /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install + +# Automated install with --assume-yes +wget -q -O /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install --assume-yes + +# To ignore SSL, use --no-check-certificate +wget --no-check-certificate -q -O /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install +``` +#### curl oneliners +```bash +# Normal install with prompts +curl -s -o /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install + +# Automated install with --assume-yes +curl -s -o /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install --assume-yes + +# To ignore SSL, use --insecure +curl --insecure -s -o /tmp/pdfScale.sh 'https://raw.githubusercontent.com/tavinus/pdfScale/master/pdfScale.sh' && bash /tmp/pdfScale.sh --install +``` +#### Remove /tmp/pdfScale.sh ater done +```bash +rm /tmp/pdfScale.sh +``` ## Self-Install Since `v2.3.0` *pdfScale* can install itself using the parameter `--install`.