File tree Expand file tree Collapse file tree 8 files changed +12
-14
lines changed Expand file tree Collapse file tree 8 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ installFirefox() {
7
7
printf " %b\n" " ${YELLOW} Installing Mozilla Firefox...${RC} "
8
8
case " $PACKAGER " in
9
9
apt-get|nala)
10
- " $ESCALATION_TOOL " " $PACKAGER " install -y firefox-esr
10
+ if [ " $DTYPE " != " ubuntu" ]; then
11
+ " $ESCALATION_TOOL " " $PACKAGER " install -y firefox-esr
12
+ fi
11
13
;;
12
14
zypper)
13
15
" $ESCALATION_TOOL " " $PACKAGER " --non-interactive install MozillaFirefox
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ installChrome() {
9
9
apt-get|nala)
10
10
curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
11
11
" $ESCALATION_TOOL " " $PACKAGER " install -y ./google-chrome-stable_current_amd64.deb
12
+ " $ESCALATION_TOOL " rm ./google-chrome-stable_current_amd64.deb
12
13
;;
13
14
zypper)
14
15
" $ESCALATION_TOOL " " $PACKAGER " addrepo http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
Original file line number Diff line number Diff line change @@ -7,17 +7,9 @@ installLibreWolf() {
7
7
printf " %b\n" " ${YELLOW} Installing Librewolf...${RC} "
8
8
case " $PACKAGER " in
9
9
apt-get|nala)
10
- " $ESCALATION_TOOL " " $PACKAGER " install -y gnupg lsb-release apt-transport-https ca-certificates
11
- distro=$( if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $( lsb_release -sc) " ; then " $( lsb_release -sc) " ; else echo ' focal' ; fi)
12
- curl -fsSL https://deb.librewolf.net/keyring.gpg | " $ESCALATION_TOOL " gpg --dearmor -o /usr/share/keyrings/librewolf.gpg
13
- echo " Types: deb
14
- URIs: https://deb.librewolf.net
15
- Suites: $distro
16
- Components: main
17
- Architectures: amd64
18
- Signed-By: /usr/share/keyrings/librewolf.gpg" | " $ESCALATION_TOOL " tee /etc/apt/sources.list.d/librewolf.sources > /dev/null
19
- " $ESCALATION_TOOL " " $PACKAGER " update
20
- " $ESCALATION_TOOL " " $PACKAGER " install -y librewolf
10
+ " $ESCALATION_TOOL " " $PACKAGER " update && " $ESCALATION_TOOL " " $PACKAGER " install -y extrepo
11
+ " $ESCALATION_TOOL " extrepo enable librewolf
12
+ " $ESCALATION_TOOL " " $PACKAGER " update && " $ESCALATION_TOOL " " $PACKAGER " install -y librewolf
21
13
;;
22
14
dnf)
23
15
curl -fsSL https://rpm.librewolf.net/librewolf-repo.repo | pkexec tee /etc/yum.repos.d/librewolf.repo > /dev/null
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ installDiscord() {
9
9
apt-get|nala)
10
10
curl -Lo discord.deb " https://discord.com/api/download?platform=linux&format=deb"
11
11
" $ESCALATION_TOOL " " $PACKAGER " install -y discord.deb
12
+ " $ESCALATION_TOOL " rm discord.deb
12
13
;;
13
14
zypper|eopkg)
14
15
" $ESCALATION_TOOL " " $PACKAGER " install -y discord
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ installTelegram() {
19
19
" $ESCALATION_TOOL " " $PACKAGER " install -y telegram
20
20
;;
21
21
* )
22
- " $ESCALATION_TOOL " " $PACKAGER " install -y telegram- desktop
22
+ flatpak install flathub --noninteractive org. telegram. desktop
23
23
;;
24
24
esac
25
25
else
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ installFreeOffice() {
9
9
apt-get|nala)
10
10
curl -O https://www.softmaker.net/down/softmaker-freeoffice-2024_1218-01_amd64.deb
11
11
" $ESCALATION_TOOL " " $PACKAGER " install -y ./softmaker-freeoffice-2024_1218-01_amd64.deb
12
+ " $ESCALATION_TOOL " rm ./softmaker-freeoffice-2024_1218-01_amd64.deb
12
13
;;
13
14
zypper)
14
15
" $ESCALATION_TOOL " " $PACKAGER " addrepo -f https://shop.softmaker.com/repo/rpm SoftMaker
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ installOnlyOffice() {
9
9
apt-get|nala)
10
10
curl -O https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_amd64.deb
11
11
" $ESCALATION_TOOL " " $PACKAGER " install -y ./onlyoffice-desktopeditors_amd64.deb
12
+ " $ESCALATION_TOOL " rm ./onlyoffice-desktopeditors_amd64.deb
12
13
;;
13
14
zypper|dnf|xbps-install|eopkg|apk)
14
15
checkFlatpak
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ installAdditionalDepend() {
74
74
;;
75
75
apt-get | nala)
76
76
version=$( git -c ' versionsort.suffix=-' ls-remote --tags --sort=' v:refname' https://github.com/lutris/lutris |
77
- grep -v ' beta ' |
77
+ grep -v ' latest ' |
78
78
tail -n1 |
79
79
cut -d ' /' --fields=3)
80
80
You can’t perform that action at this time.
0 commit comments