Commit 49a0351e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add r7-office-organizer

parent d3887081
......@@ -3,6 +3,7 @@
myoffice-*
r7-office
r7-office-organizer
lsb-cprocsp-*
cprocsp-*
# vendor: SAFIB
......
#!/bin/sh
PKGNAME=r7-office-organizer
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="R7 Office Organizer for Linux from the official site"
URL="https://support.r7-office.ru/category/organizer/install_organizer/"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
VERSION="68.5.0"
fi
# hack with release part
[ "$VERSION" = "68.5.0" ] && VERSION="$VERSION-5"
case $(epm print info -p) in
rpm)
PKGURL="https://download.r7-office.ru/centos/r7-office-organizer-$VERSION-centos.ru.x86_64.rpm"
;;
*)
PKGURL="https://download.r7-office.ru/ubuntu/r7-office-organizer-$VERSION.ru.x86_64.deb"
;;
esac
case $(epm print info -e) in
ROSA/2021.1)
PKGURL="https://download.r7-office.ru/rosa/r7-office-organizer-$VERSION-rosa.ru.x86_64.rpm"
;;
ALTLinux/*|ALTServer/*)
PKGURL="https://download.r7-office.ru/altlinux/r7-office-organizer-$VERSION-altlinux.ru.x86_64.rpm"
;;
esac
# install with scripts (need for install icons and associations)
# see /etc/eepm/pkgallowscripts.list
# TODO: pack it into the package
epm install "$PKGURL"
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