From dfe9fa463551f416e951f8c93c33b1b8e66b24db Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 5 Jan 2022 19:33:32 +0100 Subject: [PATCH] OnlyOffice: use snap package instead of the .deb one from the website --- README.md | 2 +- installGlobalScript.sh | 3 ++- installOnlyOffice.sh | 10 ---------- update.sh | 3 --- 4 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 installOnlyOffice.sh diff --git a/README.md b/README.md index a928bb8..72d11ad 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu - Installe OnlyOffice ```bash - wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installOnlyOffice.sh -O tmp.sh && bash tmp.sh; rm tmp.sh + sudo snap install onlyoffice-desktopeditors ``` - Installe le [sélecteur d'emojis](https://github.com/GaZaTu/x11-emoji-picker) diff --git a/installGlobalScript.sh b/installGlobalScript.sh index 3f70f39..3e73402 100644 --- a/installGlobalScript.sh +++ b/installGlobalScript.sh @@ -73,7 +73,8 @@ then bash installParsec.sh # Install OnlyOffice - bash installOnlyOffice.sh + sudo snap install onlyoffice-desktopeditors + echo -e "\nOnlyOffice installed! 🎉" # Install EmojiPicker and its keyboard shortcut wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp.sh && bash tmp.sh; rm tmp.sh diff --git a/installOnlyOffice.sh b/installOnlyOffice.sh deleted file mode 100644 index bbfcfba..0000000 --- a/installOnlyOffice.sh +++ /dev/null @@ -1,10 +0,0 @@ -# Download package -wget -q --show-progress https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_amd64.deb -O onlyoffice.deb - -# Installing OnlyOffice -sudo apt install ./onlyoffice.deb -y - -# Removing package -rm onlyoffice.deb - -echo -e "\nOnlyOffice installed or updated! 🎉" diff --git a/update.sh b/update.sh index 18e9fae..ba8b35a 100644 --- a/update.sh +++ b/update.sh @@ -11,9 +11,6 @@ then # Update Obsidian wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installObsidian.sh -O tmp.sh && bash tmp.sh; rm tmp.sh - # Update OnlyOffice - wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installOnlyOffice.sh -O tmp.sh && bash tmp.sh; rm tmp.sh - # Update Parsec wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installParsec.sh -O tmp.sh && bash tmp.sh; rm tmp.sh