Commit 1819b4cb authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add MyOffice support

parent 0c8e93bd
#!/bin/sh
PKGNAME=myoffice-standard-home-edition
SUPPORTEDARCHES="x86_64"
DESCRIPTION="MyOffice for Linux from the official site"
. $(dirname $0)/common.sh
arch=$($DISTRVENDOR --distro-arch)
pkgtype=$($DISTRVENDOR -p)
# https://preset.myoffice-app.ru/myoffice-standard-home-edition_2022.01-1.28.0.4_amd64
PKGMASK="$(epm print constructname $PKGNAME "*" $arch)"
PKG="$(epm tool eget --list --latest https://myoffice.ru/products/standard-home-edition/ $PKGMASK)" || fatal "Can't get package URL"
# /var/lib/dpkg/info/myoffice-standard-home-edition.postinst: line 62: xdg-desktop-menu: command not found
epm assure xdg-utils
epm --scripts install "$PKG"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment