From 5e684a33066bbe99be12909feb375e44cf8f8daa Mon Sep 17 00:00:00 2001 From: Antonio Ettorre Date: Thu, 21 Nov 2024 16:32:57 +0100 Subject: [PATCH] remove pdf references --- installers/windows/nsis/docker/build.sh | 12 +++++++----- installers/windows/nsis/installer.nsi.tmpl | 11 +++++------ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/installers/windows/nsis/docker/build.sh b/installers/windows/nsis/docker/build.sh index c4e349a4..d48b59d4 100755 --- a/installers/windows/nsis/docker/build.sh +++ b/installers/windows/nsis/docker/build.sh @@ -164,10 +164,11 @@ sed "s@](\([^:]\+)\)@](https://github.com/gem/oq-engine/blob/${OQ_BRANCH}/\1@g;s python3 -m markdown /tmp/README.$$.md > README.html rm /tmp/README.$$.md -# Get a copy of the OQ manual if not yet available -if [ ! -f OpenQuake\ manual.pdf ]; then - wget -O- https://docs.openquake.org/manuals/OpenQuake%20Manual%20%28master%29.pdf > OpenQuake\ manual.pdf -fi +# AE remove on 11/21/24 +## Get a copy of the OQ manual if not yet available +#if [ ! -f OpenQuake\ manual.pdf ]; then +# wget -O- https://docs.openquake.org/manuals/OpenQuake%20Manual%20%28master%29.pdf > OpenQuake\ manual.pdf +#fi if [[ $OQ_OUTPUT = *"exe"* ]]; then @@ -187,5 +188,6 @@ if [[ $OQ_OUTPUT = *"zip"* ]]; then cd $DIR/python-dist zip -qr $DIR/${ZIP} python3 cd $DIR - zip -qr $DIR/${ZIP} *.bat *.pdf demos README.html LICENSE.txt + #zip -qr $DIR/${ZIP} *.bat *.pdf demos README.html LICENSE.txt + zip -qr $DIR/${ZIP} *.bat demos README.html LICENSE.txt fi diff --git a/installers/windows/nsis/installer.nsi.tmpl b/installers/windows/nsis/installer.nsi.tmpl index 45253d09..405f11b3 100644 --- a/installers/windows/nsis/installer.nsi.tmpl +++ b/installers/windows/nsis/installer.nsi.tmpl @@ -167,14 +167,14 @@ Section "!OpenQuake Engine demos and documentation" SecDocDemo SectionIn RO # Install manual and demos in 'User\MyDocuments' # keep disabled for now. It may be dangerous. - #SetOutPath "$DOCUMENTS\OpenQuake" - #File "OpenQuake manual.pdf" - #SetOutPath "$DOCUMENTS\OpenQuake\demos" - #File /r /x ".gitignore" "demos\*.*" + # SetOutPath "$DOCUMENTS\OpenQuake" + # SetOutPath "$DOCUMENTS\OpenQuake\demos" + # File "OpenQuake manual.pdf" + # File /r /x ".gitignore" "demos\*.*" # Keep a copy in the installation folder + # File "OpenQuake manual.pdf" SetOutPath "$INSTDIR" - File "OpenQuake manual.pdf" SetOutPath "$INSTDIR\demos" File /r /x ".gitignore" "demos\*.*" SectionEnd @@ -251,7 +251,6 @@ Section "Uninstall" ; Uninstall files Delete "$INSTDIR\README.html" Delete "$INSTDIR\LICENSE.txt" - Delete "$INSTDIR\OpenQuake manual.pdf" Delete "$INSTDIR\openquake_black.ico" Delete "$INSTDIR\openquake.ico" Delete "$INSTDIR\oq-server.bat"