Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OnlyOffice Desktopeditors #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions install/desktop/app-onlyoffice.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://helpcenter.onlyoffice.com/installation/desktop-install-ubuntu.aspx

# add repository
mkdir -p -m 700 ~/.gnupg
gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
chmod 644 /tmp/onlyoffice.gpg
sudo chown root:root /tmp/onlyoffice.gpg
sudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg
echo 'deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main' | sudo tee -a /etc/apt/sources.list.d/onlyoffice.list

# install
sudo apt update
sudo apt install -y onlyoffice-desktopeditors
6 changes: 6 additions & 0 deletions uninstall/app-onlyoffice.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# uninstall onlyoffice
sudo apt purge -y onlyoffice-desktopeditors

# remove repository
sudo rm -f /etc/apt/sources.list.d/onlyoffice.list
sudo rm -f /usr/share/keyrings/onlyoffice.gpg