Skip to content

Commit

Permalink
Update core/tabs/applications-setup/office-suite-setup.sh
Browse files Browse the repository at this point in the history
Co-authored-by: JEEVITHA KANNAN K S <[email protected]>
  • Loading branch information
guruswarupa and jeevithakannan2 authored Sep 20, 2024
1 parent a4d356c commit d4ae44f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions core/tabs/applications-setup/office-suite-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,11 @@ install_okular(){
printf "%b\n" "${YELLOW}Installing Evince...${RC}"
if ! command_exists okular; then
case "$PACKAGER" in
apt-get|nala)
"$ESCALATION_TOOL" "$PACKAGER" install -y okular
;;
zypper)
"$ESCALATION_TOOL" "$PACKAGER" --non-interactive install okular
;;
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm okular
;;
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install okular
;;
*)
printf "%b\n" "${RED}The script does not support your Distro. Install manually..${RC}"
"$ESCALATION_TOOL" "$PACKAGER" install -y okular
;;
esac
else
Expand Down

0 comments on commit d4ae44f

Please sign in to comment.