linutil/core/tabs/applications-setup/pdf-suites/pdfstudio.sh
Nyx 4d2c2d3ab7
Separate the office suites and pdf suites (#650)
* Separate the office suites and pdf suites

* add --needed

* move 2 scripts over to pdf-suites

* fix hanging data entry

* alphabetically sort entries

* address carters concerns

* fix compilation errors

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-30 15:52:15 -05:00

24 lines
675 B
Bash

#!/bin/sh -e
. ../common-script.sh
installPdfstudio() {
if ! command_exists pdfstudio2024; then
printf "%b\n" "${YELLOW}Installing PDF Studio...${RC}"
curl -O https://download.qoppa.com/pdfstudio/PDFStudio_linux64.sh
"$ESCALATION_TOOL" chmod +x PDFStudio_linux64.sh
if sh PDFStudio_linux64.sh; then
printf "%b\n" "${GREEN}PDF Studio installed successfully!${RC}"
else
printf "%b\n" "${RED}PDF Studio installation failed!${RC}"
fi
rm PDFStudio_linux64.sh
else
printf "%b\n" "${GREEN}PDF Studio is already installed.${RC}"
fi
}
checkEnv
checkEscalationTool
installPdfstudio