onlyoffice.sh 440 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=onlyoffice-desktopeditors
4
DESCRIPTION="ONLYOFFICE for Linux from the official site"
5

6
. $(dirname $0)/common.sh
7 8 9 10 11 12 13 14 15 16 17 18


[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1

#arch=$($DISTRVENDOR --distro-arch)
arch=amd64
#pkgtype=$($DISTRVENDOR -p)
pkgtype=deb

PKG="https://download.onlyoffice.com/install/desktop/editors/linux/$(epm print constructname $PKGNAME "" $arch deb)"

epm install "$PKG"