Skip to content

Commit

Permalink
i love u shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Sep 20, 2024
1 parent 0e51590 commit 619ebfd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/tabs/applications-setup/office-suite-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ install_freeoffice() {
*)
printf "%b\n" "${RED}The script does not support your Distro. Install manually..${RC}"
;;
esac
esac
else
printf "%b\n" "${GREEN}Free Office is already installed.${RC}"
fi
}

install_evince() {
Expand All @@ -113,7 +116,7 @@ install_evince() {

install_okular() {
if ! command_exists okular; then
printf "%b\n" "${YELLOW}Installing Evince...${RC}"
printf "%b\n" "${YELLOW}Installing Okular...${RC}"
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm okular
Expand Down Expand Up @@ -145,7 +148,7 @@ install_pdfstudioviewer() {

install_pdfstudio() {
if ! command_exists pdfstudio2024/pdfstudio2024; then
printf "%b\n" "${YELLOW}Installing PDF Studio Viewer...${RC}"
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
Expand All @@ -159,7 +162,6 @@ install_pdfstudio() {
fi
}


officeSuiteSetup() {
clear
printf "%b\n" "Office Suite Setup Script"
Expand Down

0 comments on commit 619ebfd

Please sign in to comment.