mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-06 13:39:41 +00:00
4d2c2d3ab7
* 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>
24 lines
733 B
Bash
24 lines
733 B
Bash
#!/bin/sh -e
|
|
|
|
. ../common-script.sh
|
|
|
|
installPdfstudioviewer() {
|
|
if ! command_exists pdfstudioviewer2024; then
|
|
printf "%b\n" "${YELLOW}Installing PDF Studio Viewer...${RC}"
|
|
curl -O https://download.qoppa.com/pdfstudioviewer/PDFStudioViewer_linux64.sh
|
|
"$ESCALATION_TOOL" chmod +x PDFStudioViewer_linux64.sh
|
|
if sh PDFStudioViewer_linux64.sh; then
|
|
printf "%b\n" "${GREEN}PDF Studio Viewer installed successfully!${RC}"
|
|
else
|
|
printf "%b\n" "${RED}Installation failed!${RC}"
|
|
fi
|
|
rm PDFStudioViewer_linux64.sh
|
|
else
|
|
printf "%b\n" "${GREEN}PDF Studio Viewer is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
installPdfstudioviewer
|