mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Use flatpak (#812)
This commit is contained in:
parent
4c3cc75997
commit
7e13faae8a
|
@ -3,7 +3,7 @@
|
||||||
. ../../common-script.sh
|
. ../../common-script.sh
|
||||||
|
|
||||||
installSignal() {
|
installSignal() {
|
||||||
if ! command_exists signal; then
|
if ! command_exists org.signal.Signal && ! command_exists signal; then
|
||||||
printf "%b\n" "${YELLOW}Installing Signal...${RC}"
|
printf "%b\n" "${YELLOW}Installing Signal...${RC}"
|
||||||
case "$PACKAGER" in
|
case "$PACKAGER" in
|
||||||
apt-get|nala)
|
apt-get|nala)
|
||||||
|
@ -20,8 +20,8 @@ installSignal() {
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm signal-desktop
|
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm signal-desktop
|
||||||
;;
|
;;
|
||||||
dnf)
|
dnf)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" copr enable luminoso/Signal-Desktop
|
checkFlatpak
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y signal-desktop
|
flatpak install -y flathub org.signal.Signal
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
|
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user